trait PlayRunners extends HttpVerbs
- Alphabetic
- By Inheritance
- PlayRunners
- HttpVerbs
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- val DELETE: String
- Definition Classes
- HttpVerbs
- val FIREFOX: Class[FirefoxDriver]
- val GET: String
- Definition Classes
- HttpVerbs
- val HEAD: String
- Definition Classes
- HttpVerbs
- val HTMLUNIT: Class[HtmlUnitDriver]
- val OPTIONS: String
- Definition Classes
- HttpVerbs
- val PATCH: String
- Definition Classes
- HttpVerbs
- val POST: String
- Definition Classes
- HttpVerbs
- val PUT: String
- Definition Classes
- HttpVerbs
- lazy val baseApplicationBuilder: GuiceApplicationBuilder
The base builder used in the running method.
- def inMemoryDatabase(name: String = "default", options: Map[String, String] = Map.empty[String, String]): Map[String, String]
Constructs a in-memory (h2) database configuration to add to an Application.
- def running[T](testServer: TestServer, webDriver: WebDriver)(block: (TestBrowser) => T): T
Executes a block of code in a running server, with a test browser.
- def running[T, WEBDRIVER <: WebDriver](testServer: TestServer, webDriver: Class[WEBDRIVER])(block: (TestBrowser) => T): T
Executes a block of code in a running server, with a test browser.
- def running[T](testServer: TestServer)(block: => T): T
Executes a block of code in a running server.
- def running[T](builder: () => GuiceApplicationBuilder)(block: (Application) => T): T
- def running[T](app: Application)(block: => T): T
Executes a block of code in a running application.
- def running[T]()(block: (Application) => T): T
- def runningWithPort[T](testServer: TestServer, webDriver: WebDriver)(block: (TestBrowser, Int) => T): T
Executes a block of code in a running server, with a test browser and a port.
Executes a block of code in a running server, with a test browser and a port. If available the http port will be used first, before falling back to the https port.
- def runningWithPort[T, WEBDRIVER <: WebDriver](testServer: TestServer, webDriver: Class[WEBDRIVER])(block: (TestBrowser, Int) => T): T
Executes a block of code in a running server, with a test browser and a port.
- def runningWithPort[T](testServer: TestServer)(block: (Int) => T): T
Executes a block of code in a running server, with a port.
Executes a block of code in a running server, with a port. If available the http port will be used first, before falling back to the https port.
- def testServerAddress: String
- def testServerHttpsPort: Option[Int]
- def testServerPort: Int
The port to use for a test server.
The port to use for a test server. Defaults to a random port. May be configured using the system property testserver.port
Helper functions to run tests.