abstract class WithServer extends AroundHelper with Scope
Ordering
- Alphabetic
- By Inheritance
Inherited
- WithServer
- AroundHelper
- Around
- DelayedInit
- Around
- Context
- Scope
- Scope
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new WithServer(app: Application = GuiceApplicationBuilder().build(), port: Int = Helpers.testServerPort, serverProvider: Option[ServerProvider] = None)
- 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.
Value Members
- def andThen(a: Around): Around
- Definition Classes
- Around
- val app: Application
- def apply[T](a: => T)(implicit arg0: AsResult[T]): Result
- Definition Classes
- Around → Context
- def around[T](t: => T)(implicit arg0: AsResult[T]): Result
- Definition Classes
- AroundHelper → Around
- def compose(a: Around): Around
- Definition Classes
- Around
- def delayedInit(x: => Unit): Unit
- Definition Classes
- Around → DelayedInit
- implicit def implicitApp: Application
- implicit def implicitMaterializer: Materializer
- implicit def implicitPort: Port
- var port: Int
- def running(): Unit
- Definition Classes
- AroundHelper
- val serverProvider: Option[ServerProvider]
- def wrap[T](t: => T)(implicit arg0: AsResult[T]): Result
- Definition Classes
- → AroundHelper
Used to run specs within the context of a running server.