DefaultExecutor

org.specs2.specification.process.DefaultExecutor
See theDefaultExecutor companion object
trait DefaultExecutor extends Executor

Default execution for specifications:

  • concurrent by default
  • using steps for synchronisation points

Attributes

Companion
object
Graph
Supertypes
trait Executor
class Object
trait Matchable
class Any
Known subtypes
object DefaultExecutor.type

Members list

Value members

Concrete methods

def execute(env: Env): Fragment => Fragment

execute fragments:

execute fragments:

  • filter the ones that the user wants to keep
  • sequence the execution so that only parts in between steps are executed concurrently

Attributes

def executeExecution(env: Env, timeout: Option[FiniteDuration])(execution: Execution): Execution

execute one Execution

execute one Execution

Attributes

def executeFragment(env: Env, timeout: Option[FiniteDuration])(fragment: Fragment): Fragment

execute one fragment

execute one fragment

Attributes

def executeOnline(env: Env)(fragment: Fragment): AsyncStream[Fragment]

execute fragments, making sure that:

execute fragments, making sure that:

  • "join" points are respected, i.e. when a Fragment is a join we must make sure that all previously executing fragments have finished their execution

  • the fragments execute sequentially when args.sequential

  • the execution stops if one fragment indicates that the result of the previous executions is not correct

Attributes