WithApplicationLoader

play.api.test.WithApplicationLoader
abstract class WithApplicationLoader(applicationLoader: ApplicationLoader, context: Context) extends AroundHelper, Scope

Used to run specs within the context of a running application loaded by the given ApplicationLoader.

Value parameters

applicationLoader

The application loader to use

context

The context supplied to the application loader

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

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

Implicits

Implicits

implicit lazy val app: Application