Around

org.specs2.specification.Around
See theAround companion object
trait Around extends Context

The Around trait can be inherited by classes which will execute some code inside the around method provided by the context.

This can be used for example to execute some code inside a webapp session

Attributes

See also

Example to understand why the type T must : AsResult

Companion
object
Graph
Supertypes
trait Context
trait Scope
trait Scope
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Around
trait NoStdOut
object NoStdOut.type
Self type

Members list

Value members

Abstract methods

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

Concrete methods

def andThen(a: Around): Around

sequence the actions of 2 Around traits

sequence the actions of 2 Around traits

Attributes

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

compose the actions of 2 Around traits

compose the actions of 2 Around traits

Attributes