WithApplication

play.api.test.WithApplication
abstract class WithApplication(val app: Application) extends AroundHelper, Scope

Used to run specs within the context of a running application.

Value parameters

app

The fake application

Attributes

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

Members list

Value members

Constructors

Concrete methods

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

Attributes

Definition Classes

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
override def around[T : AsResult](t: => T): Result

Attributes

Definition Classes
AroundHelper -> Around
Inherited from:
AroundHelper
def compose(a: Around): Around

compose the actions of 2 Around traits

compose the actions of 2 Around traits

Attributes

Inherited from:
Around
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
Around -> DelayedInit
Inherited from:
Around
def running(): Unit

Attributes

Inherited from:
AroundHelper

Concrete fields

Implicits

Implicits

implicit def implicitApp: Application