Crate kvarn_testing

Source
Expand description

Helpers for integration-testing Kvarn.

Here, you can easily spin up a new server on a random non-used port and send a request to it in under 5 lines.

Modules§

prelude
The testing prelude. Also imports kvarn::prelude::*.

Structs§

Server
A port returned by ServerBuilder::run to connect to.
ServerBuilder
A builder struct for starting a test Server.