OwnEnv

org.specs2.specification.core.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

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
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

Inherited and Abstract methods

Attributes

Inherited from:
SpecificationStructure

Concrete fields

lazy val env: Env

Givens

Givens

given ec: ExecutionContext
given ee: ExecutionEnv