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

trait AfterSpec
class Object
trait Matchable
class Any

Value members

Abstract methods

def env: Env

Concrete methods

Inherited methods

modify the fragments

modify the fragments

Inherited from
SpecificationStructure
override def map(fs: => Fragments): Fragments
Definition Classes
Inherited from
AfterSpec
def map(structure: SpecStructure): SpecStructure

modify the specification structure

modify the specification structure

Inherited from
SpecificationStructure

Concrete fields

lazy val ec: ExecutionContext
final lazy val ee: ExecutionEnv