After

org.specs2.mutable.After
trait After extends After, DelayedInit, Scope

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

Since the delayedInit method doesn't return a Result, this only works with mutable specifications where results are thrown as exceptions

Attributes

Graph
Supertypes
trait DelayedInit
trait After
trait Context
trait Scope
trait Scope
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def delayedInit(x: => Unit): Unit

Attributes

Definition Classes
DelayedInit

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(a: After): After

sequence the actions of 2 After traits

sequence the actions of 2 After traits

Attributes

Inherited from:
After
def apply[T : AsResult](a: => 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

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

compose the actions of 2 After traits

compose the actions of 2 After traits

Attributes

Inherited from:
After