An implicit instance of FakeApplication
.
An implicit instance of FakeApplication
.
Overriden to start Play
before running the tests, pass a FakeApplication
into the tests in
args.configMap
via "app" key, call super.run
and stop Play
after test executions.
Overriden to start Play
before running the tests, pass a FakeApplication
into the tests in
args.configMap
via "app" key, call super.run
and stop Play
after test executions.
an optional name of one test to run. If None
, all relevant tests should be run.
I.e., None
acts like a wildcard that means run all relevant tests in this Suite
.
the Args
for this run
a Status
object that indicates when all tests and nested suites started by this method have completed, and whether or not a failure occurred.
Trait that provides one
FakeApplication
instance per ScalaTestSuite
.It overrides ScalaTest's
Suite.run
method to callPlay.start()
before, andPlay.stop()
after, executing the tests. In the suite that mixes inOneAppPerSuite
, you can access theFakeApplication
using theapp
field. In nested suites, you can access theFakeApplication
from theargs.configMap
, where it is associated with key"app"
.