NumberOfTimes

org.specs2.control.NumberOfTimes
See theNumberOfTimes companion object

Syntactic sugar to execute an action a given number of times

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object NumberOfTimes.type

Members list

Extensions

Extensions

extension (n: Int)(using not: NotGiven[NoNumberOfTimes])
def times: Times

This implicit definition allows to declare a number of times 3.times

This implicit definition allows to declare a number of times 3.times

Attributes