package
managedfixture
Type Members
-
case class
AnyState
[SI <: FixtureStateTypes]
(stateInfo: SI) extends FixtureStateCondition[SI] with Product with Serializable
-
trait
FixtureAccess
[T <: FixtureStateTypes]
extends AnyRef
-
trait
FixtureStateChange
[+T <: FixtureStateTypes]
extends AnyRef
-
class
FixtureStateCondition
[SI <: FixtureStateTypes]
extends AnyRef
-
trait
FixtureStateDSL
[T <: FixtureStateTypes]
extends AnyRef
-
class
FixtureStateManager
[T <: FixtureStateTypes]
extends AnyRef
-
-
case class
NewState
[+T <: FixtureStateTypes]
(state: _86.startStates.Value forSome { val _86: T }) extends FixtureStateChange[T] with Product with Serializable
-
case class
NoState
[SI <: FixtureStateTypes]
(stateInfo: SI) extends FixtureStateCondition[SI] with Product with Serializable
-
trait
RdbAccessHelper
[T <: FixtureStateTypes]
extends AnyRef
-
case class
SetOfStatesAndAspects
[SI <: FixtureStateTypes]
(stateInfo: SI, allowedStartStates: Set[_137.startStates.Value forSome { val _137: SI }], neededStateAspects: Set[_139.stateAspects.Value forSome { val _139: SI }]) extends FixtureStateCondition[SI] with Product with Serializable
-
case class
TestFixtureStateUsageDescription
[T <: FixtureStateTypes]
(stateInfo: T, precondition: FixtureStateCondition[T], startStateChange: FixtureStateChange[T], stateAspectsChanged: Set[_239.stateAspects.Value forSome { val _239: T }], canRunParallel: Boolean) extends Product with Serializable
Value Members
-
-
-
-
object
SameState
extends FixtureStateChange[Nothing] with Product with Serializable
-
-
object
UndefinedState
extends FixtureStateChange[Nothing] with Product with Serializable
Provides building block for externally management fixtures (such as databases).
Managed fixture defined by
After defining managed fixture we can use one in tests by attaching to each fixture test description of required states and changed to this states on simple DSL (see FixtureStateDSL ). Test execution engine can use this information for splitting tests into sequence of parts, which can be executed in parallel, calculation of order of execution of those parts and running ones in this order.
Integration with popular scalatest package is available in managedfixture.