rustapi-testing 0.1.450

Testing utilities for RustAPI applications. Provides checking helpers, test servers, and fluid assertions.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Testing utilities for RustAPI
//!
//! r# "Mock Server"
//!
//! The `MockServer` allows you to mock HTTP services for integration testing.

pub mod client;
pub mod expectation;
pub mod matcher;
pub mod server;

pub use client::{TestClient, TestRequest, TestResponse};
pub use expectation::{Expectation, MockResponse, Times};
pub use matcher::RequestMatcher;
pub use server::{MockServer, RecordedRequest};