trait ServerProvider extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- ServerProvider
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- implicit abstract def app: Application
Implicit method that returns a
Application
instance.
Concrete Value Members
- final def port: Int
The port used by the
TestServer
. - implicit def portNumber: PortNumber
Implicit
PortNumber
instance that wrapsport
.Implicit
PortNumber
instance that wrapsport
. The value returned fromportNumber.value
will be same as the value ofport
.- returns
the configured port number, wrapped in a
PortNumber
Trait that defines abstract methods that providing a port number and implicit
Application
and a concrete method that provides an implicit PortNumber that wraps the port number.This trait is implemented by OneServerPerSuite, OneServerPerTest, and ConfiguredServer, each of which use a different strategy to provide
TestServer
s to tests. This trait is included in the self-type of OneBrowserPerSuite, and OneBrowserPerTest, and AllBrowsersPerTest, allowing you to select theWebDriver
strategy (i.e., the extent to whichWebDriver
s are shared between tests) independently from theTestServer
strategy (the extent to whichTestServer
s are shared between tests).