play.api.test.DefaultTestServerFactory
See theDefaultTestServerFactory companion object
@ApiMayChange
class DefaultTestServerFactory extends TestServerFactory
Creates a server for an application with a random HTTP port bound. To change the HTTP port you can pass a testserver.port system property. The HTTPS port by default is not bound, but can be enabled by passing the testserver.httpsport system property. If it gets bound it will be using a self-signed certificate.
Most logic in this class is in a protected method so that users can extend the class and override its logic.
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
object DefaultTestServerFactory.type
Members list
In this article