Registry / testing / tower-test

tower-test

JSON →
library0.4.0rscratesunverified

Utilities for writing client and server `Service` tests.

# Cargo.toml [dependencies] tower-test = "0.4.0"
INSTALL
IMPORT
SIG · TOWER-TEST
T
tower-test
testingrustv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mock
✓ use tower_test::mock::Mock;

Creating a mock service for testing Tower middleware.

use tower_test::mock::Mock; let (mut mock, mut handle) = Mock::new(); // Use mock as a service, handle to assert requests and send responses
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
tower-test — cargo add tower-test · libregistry