Override this function to instantiate the components - a factory of sorts.
the components to be used by the application
An implicit instance of
a context to use to create the application.
new application instance and set the components. This must be called for components to be properly set up.
The port used by the
PortNumber instance that wraps
the configured port number, wrapped in a
start on a new
TestServer created with the
Application provided by
app and the
port number defined by
port, places the
Application and port number into the
ConfigMap under the keys
org.scalatestplus.play.port, respectively, to make
them available to nested suites; calls
super.run; and lastly ensures the
Application and test server are stopped after
all tests and nested suites have completed.
an optional name of one test to run. If
None, all relevant tests should be run.
None acts like a wildcard that means run all relevant tests in this
Args for this run
Status object that indicates when all tests and nested suites started by this method have completed, and whether or not a failure occurred.