Package-level declarations



Link copied to clipboard
@TestInstance(value = TestInstance.Lifecycle.PER_CLASS)
abstract class BaseTest
Link copied to clipboard
data class Http(val url: String, val adapter: HttpClientPort, val contentType: ContentType? = ContentType(JSON), val headers: Map<String, *> = emptyMap<String, Any>(), val sslSettings: SslSettings? = SslSettings(), val block: Http.() -> Unit? = null)
Link copied to clipboard
data class MockServer(val adapter: HttpServerPort, var path: PathHandler = PathHandler())

Server with dynamic handler (delegated to path). Root handler can be replaced at any time without restarting the server.