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
Members list
In this article