{"id":69270,"library":"axum-test-helper","title":"Axum Test Helper","description":"Extra utilities for testing axum applications.","status":"active","version":"0.4.0","language":"rust","source_language":null,"source_url":"https://github.com/cloudwalk/axum-test-helper","tags":["axum","testing","http","async"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\naxum-test-helper = \"0.4.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add axum-test-helper","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"TestClient","correct":"use axum_test_helper::TestClient;"}],"quickstart":{"code":"use axum_test_helper::TestClient;\nuse axum::Router;\n\nasync fn handler() -> &'static str { \"Hello\" }\n\n#[tokio::main]\nasync fn main() {\n    let app = Router::new().route(\"/\", axum::routing::get(handler));\n    let client = TestClient::new(app);\n    let resp = client.get(\"/\").await;\n    println!(\"{}\", resp.text().await);\n}","lang":"rust","description":"Creates a test client for an axum router and sends a GET request."},"warnings":[{"fix":"Ensure your test is run with #[tokio::test] or similar async runtime.","message":"Requires tokio runtime for async operations.","severity":"gotcha","affected_versions":">=0.4.0"}],"env_vars":null,"search_vec":"'applic':9 'async':13 'axum':1,8,10 'extra':4 'helper':3 'http':12 'test':2,7,11 'util':5","created_at":"2026-06-17T17:59:56.540851+00:00","updated_at":"2026-06-17T17:59:56.540851+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/cloudwalk/axum-test-helper","github":"https://github.com/cloudwalk/axum-test-helper","docs":"https://docs.rs/axum-test-helper/","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}}