OwnExecutionEnv

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

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 AfterAll
class Object
trait Matchable
class Any
Show all

Members list

Value members

Abstract methods

def env: Env

Concrete methods

def afterAll(): Unit

Inherited methods

Attributes

Inherited from:
SpecificationStructure

Attributes

Inherited from:
FragmentsFactory

Attributes

Inherited from:
ContextualSpecificationStructure

Attributes

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

modify the fragments

modify the fragments

Attributes

Definition Classes
Inherited from:
AfterAll
def map(fs: => Fragments, env: Env): Fragments

modify the fragments, using the current environment

modify the fragments, using the current environment

Attributes

Inherited from:
SpecificationStructure
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

Implicits

Implicits

implicit lazy val ee: ExecutionEnv