[][src]Module gotham::test

Test utilities for Gotham and Gotham consumer apps.

Re-exports

pub use crate::plain::test::TestServer;
pub use request::TestRequest;

Modules

request

Test request behavior, shared between the tls::test and plain::test modules.

Structs

TestClient

Client interface for issuing requests to a Server.

TestResponse

Wrapping struct for the Response returned by a TestClient. Provides access to the Response value via the Deref and DerefMut traits, and also provides a function for awaiting a completed response body.

Traits

Server

An in memory server for testing purposes.