org.specs2.specification

Members list

Type members

Classlikes

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AroundTimeout.type
object ExamplesTimeout.type
object AroundTimeout extends AroundTimeout

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait ExamplesTimeout extends EachContext, AroundTimeout

This trait can be used to add a global time out to each example or for a specific one:

This trait can be used to add a global time out to each example or for a specific one:

  • for each example mix-in the trait
  • for a single example import the object and use the upTo context:

my example must terminate in a reasonable amount of time ${upTo(3.seconds)(e1)}

Attributes

Companion
object
Supertypes
trait EachContext
trait FragmentsFactory
class Object
trait Matchable
class Any
Show all
Known subtypes
object ExamplesTimeout.type

Attributes

Companion
trait
Supertypes
trait EachContext
trait FragmentsFactory
class Object
trait Matchable
class Any
Show all
Self type