Package

org.specs2

specification

Permalink

package specification

Visibility
  1. Public
  2. All

Type Members

  1. trait AroundTimeout extends AnyRef

    Permalink
  2. trait ExamplesTimeout extends EachContext with AroundTimeout

    Permalink

    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)}

Value Members

  1. object AroundTimeout extends AroundTimeout

    Permalink
  2. object ExamplesTimeout extends ExamplesTimeout

    Permalink

Ungrouped