play.api.test

package play.api.test

Members list

Type members

Classlikes

abstract class AroundHelper(helperClass: Class[_]) extends Around

Attributes

Supertypes
trait Around
trait DelayedInit
trait Around
trait Context
trait Scope
trait Scope
class Object
trait Matchable
class Any
Show all
Known subtypes
class WithBrowser[WEBDRIVER]
class WithServer
trait ForServer extends ForEach[RunningServer], Scope

Replacement for WithServer, adding server endpoint info.

Replacement for WithServer, adding server endpoint info.

Attributes

Supertypes
trait Scope
trait Scope
trait ForEach[RunningServer]
trait FragmentsFactory
class Object
trait Matchable
class Any
Show all

Play specs2 specification.

Play specs2 specification.

This trait excludes some of the mixins provided in the default specs2 specification that clash with Play helpers methods. It also mixes in the Play test helpers and types for convenience.

Attributes

Supertypes
trait FutureAwaits
trait Writeables
trait HttpProtocol
trait Status
trait HeaderNames
trait PlayRunners
trait HttpVerbs
trait SpecificationLike
trait SpecificationFeatures
trait ShouldThrownMatchers
trait ShouldThrownExpectations
trait ShouldThrownExpectables
trait ThrownExpectations
trait ThrownStandardMatchResults
trait ThrownStandardResults
trait MustThrownMatchers
trait MustThrownExpectations
trait MustThrownExpectables
trait MustThrownExpectationsCreation
trait ThrownExpectationsCreation
trait ThrownExpectables
trait SpecificationFeatures
trait ImplicitExecutionContexts
trait ImplicitExecutorServiceFromExecutionEnv
trait ImplicitExecutionContextFromExecutionEnv
trait Debug
trait PendingUntilFixed
trait StandardMatchResults
trait StandardResults
trait ShouldMatchers
trait ShouldExpectations
trait MustMatchers
trait MustExpectations
trait Matchers
trait MatchersImplicits
trait SequenceMatchersCreation
trait MatchersCreation
trait ResultImplicits
trait MatchResultImplicits
trait MatcherZipOperators
trait MatchResultCombinators
trait ResultLogicalCombinators
trait Results
trait MatchResultLogicalCombinators
trait Expectations
trait ExpectationsDescription
trait TypedEqual
trait FutureMatchers
trait EventuallyMatchers
trait EventuallyResults
trait TryMatchers
trait EitherMatchers
trait OptionMatchers
trait ValueChecks
trait ValueChecksBase
trait NumericMatchers
trait ExceptionMatchers
trait ExpectationsCreation
trait MatchResultStackTrace
trait StringMatchers
trait MapMatchers
trait TraversableMatchers
trait NumberOfTimes
trait ImplicitParameters
trait ValueChecksLowImplicits
trait LazyParameters
trait AnyMatchers
trait AnyBeHaveMatchers
trait SpecificationCreation
trait MutableDsl
trait TagDsl
trait ReferenceDsl
trait ArgumentsDsl
trait ArgumentsCreation
trait TitleDsl
trait ActionDsl
trait TextDsl
trait TextCreation
trait ExampleDsl
trait BlockDsl
trait FormattingFragments
trait SpecificationCreation
trait FormattingFragments
trait S2StringContext
trait S2StringContextCreation
trait ArgumentsShortcuts
trait ArgumentsArgs
trait ArgProperties
trait ArgumentsCreation
trait AcceptanceDsl
trait ReferenceDsl
trait ExampleDsl
trait TitleDsl
trait SpecStructureDsl
trait FragmentsDsl
trait ActionDsl
trait TagDsl
trait ReferenceCreation
trait MutableFragmentBuilder
trait MutableHeaderBuilder
trait MutableArgumentsBuilder
trait FragmentsFactory
trait FragmentBuilder
trait SpecificationStructure
trait ContextualSpecificationStructure
class Object
trait Matchable
class Any
Show all
abstract class WithApplication(val app: Application) extends AroundHelper, Scope

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

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

Value parameters

app

The fake application

Attributes

Supertypes
class AroundHelper
trait Around
trait DelayedInit
trait Around
trait Context
trait Scope
trait Scope
class Object
trait Matchable
class Any
Show all
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.

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

Supertypes
class AroundHelper
trait Around
trait DelayedInit
trait Around
trait Context
trait Scope
trait Scope
class Object
trait Matchable
class Any
Show all
abstract class WithBrowser[WEBDRIVER <: WebDriver](val webDriver: WebDriver, val app: Application, var port: Int) extends AroundHelper, Scope

Used to run specs within the context of a running server, and using a web browser

Used to run specs within the context of a running server, and using a web browser

Value parameters

app

The fake application

port

The port to run the server on

webDriver

The driver for the web browser to use

Attributes

Supertypes
class AroundHelper
trait Around
trait DelayedInit
trait Around
trait Context
trait Scope
trait Scope
class Object
trait Matchable
class Any
Show all
abstract class WithServer(val app: Application, var port: Int, val serverProvider: Option[ServerProvider]) extends AroundHelper, Scope

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

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

Value parameters

app

The fake application

port

The port to run the server on

serverProvider

Experimental API; subject to change The type of server to use. Defaults to providing a Netty server.

Attributes

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