zio.http.TestServer
See theTestServer companion object
final case class TestServer(driver: Driver, bindPort: Int) extends Server
Enables tests that make calls against "localhost" with user-specified Behavior/Responses.
Value parameters
- bindPort
-
Port for HTTP interactions
- driver
-
The web driver that accepts our Server behavior
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article