WithServer
play.api.test.WithServer
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.
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
- Graph
-
- Supertypes
-
class AroundHelpertrait Aroundtrait DelayedInittrait Aroundtrait Contexttrait Scopetrait Scopeclass Objecttrait Matchableclass Any
Members list
In this article