BeforeAfter

org.specs2.specification.BeforeAfter
See theBeforeAfter companion object
trait BeforeAfter extends Before, After

Attributes

Companion
object
Graph
Supertypes
trait After
trait Before
trait Context
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

sequence the actions of 2 BeforeAfter traits

sequence the actions of 2 BeforeAfter traits

Attributes

override def apply[T](a: => T)(using evidence$5: AsResult[T]): Result

execute an action returning a Result and finally the after action

execute an action returning a Result and finally the after action

Attributes

Definition Classes

compose the actions of 2 BeforeAfter traits

compose the actions of 2 BeforeAfter traits

Attributes

Inherited methods

def after: Any

override this method to provide the after behavior

override this method to provide the after behavior

Attributes

Inherited from:
After
def andThen(b: After): After

sequence the actions of 2 After traits

sequence the actions of 2 After traits

Attributes

Inherited from:
After
def andThen(b: Before): Before

sequence the actions of 2 Before traits

sequence the actions of 2 Before traits

Attributes

Inherited from:
Before
def before: Any

override this method to provide the before behavior

override this method to provide the before behavior

Attributes

Inherited from:
Before
def compose(a: After): After

compose the actions of 2 After traits

compose the actions of 2 After traits

Attributes

Inherited from:
After
def compose(b: Before): Before

compose the actions of 2 Before traits

compose the actions of 2 Before traits

Attributes

Inherited from:
Before