OwnEnv

trait OwnEnv extends AfterSpec

This trait copies the inherited env: 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 OwnEnv

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
lazy val es: ExecutorServices
lazy val ownEnv: Env