TestServer

play.api.test.TestServer
See theTestServer companion class
object TestServer

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TestServer.type

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(port: Int, application: Application, sslPort: Option[Int], serverProvider: Option[ServerProvider]): TestServer

A test web server.

A test web server.

Value parameters

application

The Application to load in this server.

port

HTTP port to bind on.

serverProvider

The type of server to use. If not provided, uses Play's default provider.

sslPort

HTTPS port to bind on.

Attributes