Before

trait Before extends Before with FragmentsFactory

This trait adds the possibility to execute the before behavior before the body of the context.

Value members

Concrete methods

override def map(fs: => Fragments): Fragments
Definition Classes

Inherited methods

def addFragment(fragment: Fragment): Fragment
Inherited from:
MutableFragmentBuilder
def addSections(): Unit
Inherited from:
MutableFragmentBuilder

sequence the actions of 2 Before traits

sequence the actions of 2 Before traits

Inherited from:
Before
override def apply[T : AsResult](a: => T): Result

execute an action returning a Result and finally the before action.

execute an action returning a Result and finally the before action.

The action will be aborted if the before block fails:

  • with an exception
  • with a non-Success result
  • with a non-Success match result
Definition Classes
Inherited from:
Before
def before: Any

override this method to provide the before behavior

override this method to provide the before behavior

Inherited from:
Before

compose the actions of 2 Before traits

compose the actions of 2 Before traits

Inherited from:
Before
Inherited from:
FragmentsFactory
Inherited from:
MutableFragmentBuilder
def map(fs: => Fragments, env: Env): Fragments

modify the fragments, using the current environment

modify the fragments, using the current environment

Inherited from:
SpecificationStructure

modify the specification structure

modify the specification structure

Inherited from:
SpecificationStructure
def setArguments(a: Arguments): Arguments
def setTitle(t: String): SpecHeader
Inherited from:
MutableHeaderBuilder
def updateArguments(a: Arguments): Arguments