OwnExecutionEnv

org.specs2.specification.core.OwnExecutionEnv
trait OwnExecutionEnv extends AfterSpec

This trait provides an isolated Execution Env for a Specification and makes sure it is shutdown when the specification finishes.

The specification using this trait must require an Env:

class MySpec(env: Env) extends Specification with OwnExecutionEnv

Attributes

Graph
Supertypes
trait AfterSpec
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

Inherited methods

Attributes

Inherited from:
SpecificationStructure

modify the fragments

modify the fragments

Attributes

Inherited from:
SpecificationStructure

Attributes

Inherited from:
FragmentsFactory

Attributes

Inherited from:
SpecificationStructure
override def map(fs: => Fragments): Fragments

modify the fragments

modify the fragments

Attributes

Definition Classes
Inherited from:
AfterSpec
def map(structure: SpecStructure): SpecStructure

modify the specification structure

modify the specification structure

Attributes

Inherited from:
SpecificationStructure

Attributes

Inherited from:
SpecificationStructure

Concrete fields

lazy val ec: ExecutionContext
lazy val executionEnv: ExecutionEnv

Givens

Givens

given ee: ExecutionEnv