case class Env(arguments: Arguments, systemLogger: Logger, selectorInstance: Arguments => Selector, executorInstance: Arguments => Executor, lineLogger: LineLogger, statsRepository: Arguments => StatisticsRepository, random: Random, fileSystem: FileSystem, executionParameters: ExecutionParameters, customClassLoader: Option[ClassLoader], classLoading: ClassLoading, executionEnv: ExecutionEnv, specs2ExecutionEnv: ExecutionEnv)
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
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any