org.specs2.specification.core

Env

Related Docs: object Env | package core

case class Env(arguments: Arguments = Arguments(), selectorInstance: (Arguments) ⇒ Selector = ..., executorInstance: (Arguments) ⇒ Executor = ..., lineLogger: LineLogger = NoLineLogger, statsRepository: (Arguments) ⇒ StatisticsRepository = ..., executionEnv: ExecutionEnv = ExecutionEnv(), systemLogger: Logger = noLogging, random: Random = new scala.util.Random, fileSystem: FileSystem = FileSystem) extends Product with Serializable

Whole creation / execution / reporting environment for a specification

Part of it is driven by the command-line, part of it is specs2 implementation Yet it can be used to drive the creation or execution of examples

Note: creating an Env instance is a delicate activity because the Env hold a thread pool that needs to be shutdown at the end of the execution

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Env
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Env(arguments: Arguments = Arguments(), selectorInstance: (Arguments) ⇒ Selector = ..., executorInstance: (Arguments) ⇒ Executor = ..., lineLogger: LineLogger = NoLineLogger, statsRepository: (Arguments) ⇒ StatisticsRepository = ..., executionEnv: ExecutionEnv = ExecutionEnv(), systemLogger: Logger = noLogging, random: Random = new scala.util.Random, fileSystem: FileSystem = FileSystem)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val arguments: Arguments

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. val executionEnv: ExecutionEnv

  9. lazy val executor: Executor

  10. val executorInstance: (Arguments) ⇒ Executor

  11. lazy val executorService: ExecutorService

  12. val fileSystem: FileSystem

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val lineLogger: LineLogger

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. val random: Random

  21. lazy val selector: Selector

  22. val selectorInstance: (Arguments) ⇒ Selector

  23. def setArguments(args: Arguments): Env

    set new arguments

  24. def setExecutionEnv(env: ExecutionEnv): Env

    set a new execution environment

  25. def setLineLogger(logger: LineLogger): Env

    set new LineLogger

  26. def setStatisticRepository(repository: StatisticsRepository): Env

    set a new statistic repository

  27. def setWithoutIsolation: Env

    returns

    an isolated env

  28. def shutdown(): Unit

  29. lazy val statisticsRepository: StatisticsRepository

  30. val statsRepository: (Arguments) ⇒ StatisticsRepository

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. val systemLogger: Logger

  33. lazy val timeout: Timeout

  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped