Around

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

This trait adds the possibility to execute the around behavior around 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 Around
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

use effectively to re-throw FailureExceptions if x failed

use effectively to re-throw FailureExceptions if x failed

Attributes

Definition Classes
DelayedInit

Inherited methods

def andThen(a: Around): Around

sequence the actions of 2 Around traits

sequence the actions of 2 Around traits

Attributes

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

Attributes

Inherited from:
Around
def around[T : AsResult](t: => T): Result

Attributes

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

compose the actions of 2 Around traits

compose the actions of 2 Around traits

Attributes

Inherited from:
Around