RunningServer

play.api.test.RunningServer
@ApiMayChange
final case class RunningServer(app: Application, endpoints: ServerEndpoints, stopServer: AutoCloseable)

Contains information about a running TestServer. This object can be used by tests to find out about the running server, e.g. port information.

We use a separate class to avoid including mutable state, such as methods for closing the server.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product