{"id":62394,"library":"tower-test","title":"Tower Test","description":"Utilities for writing client and server `Service` tests.","status":"active","version":"0.4.0","language":"rust","source_language":null,"source_url":"https://github.com/tower-rs/tower","tags":["testing","tower","mock","service","middleware"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntower-test = \"0.4.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add tower-test","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Mock","correct":"use tower_test::mock::Mock;"}],"quickstart":{"code":"use tower_test::mock::Mock;\n\nlet (mut mock, mut handle) = Mock::new();\n// Use mock as a service, handle to assert requests and send responses","lang":"rust","description":"Creating a mock service for testing Tower middleware."},"warnings":[],"env_vars":null,"search_vec":"'client':6 'middlewar':15 'mock':13 'server':8 'servic':9,14 'test':2,10,11 'tower':1,12 'util':3 'write':5","created_at":"2026-06-17T16:29:15.554381+00:00","updated_at":"2026-06-17T16:29:15.554381+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/tower-rs/tower","github":"https://github.com/tower-rs/tower","docs":"https://docs.rs/tower-test/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}