OwnEnv

trait OwnEnv extends AfterAll

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

Value members

Abstract methods

def env: Env

Concrete methods

def afterAll(): Unit

Inherited methods

Inherited from:
FragmentsFactory
override def map(fs: => Fragments): Fragments
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

Inherited from:
SpecificationStructure

modify the specification structure

modify the specification structure

Inherited from:
SpecificationStructure

Concrete fields

lazy val ec: ExecutionContext
lazy val ownEnv: Env

Implicits

Implicits

implicit lazy val ee: ExecutionEnv