{"id":20029520,"url":"https://github.com/http-rs/tide-testing","last_synced_at":"2025-12-12T15:41:34.104Z","repository":{"id":54689801,"uuid":"305012041","full_name":"http-rs/tide-testing","owner":"http-rs","description":"ergonomic tide testing extension","archived":false,"fork":false,"pushed_at":"2022-09-25T09:19:31.000Z","size":23,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-23T15:31:48.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/http-rs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-18T03:07:33.000Z","updated_at":"2024-10-28T13:22:48.000Z","dependencies_parsed_at":"2022-08-14T00:10:15.815Z","dependency_job_id":null,"html_url":"https://github.com/http-rs/tide-testing","commit_stats":null,"previous_names":["jbr/tide-testing"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/http-rs/tide-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-rs%2Ftide-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-rs%2Ftide-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-rs%2Ftide-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-rs%2Ftide-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/http-rs","download_url":"https://codeload.github.com/http-rs/tide-testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/http-rs%2Ftide-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27685628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T09:20:46.584Z","updated_at":"2025-12-12T15:41:34.077Z","avatar_url":"https://github.com/http-rs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tide-testing\n## a convenient bridge between surf and tide to generate synthetic requests for testing\n\n* [CI ![CI][ci-badge]][ci]\n* [API Docs][docs] [![docs.rs docs][docs-badge]][docs]\n* [Releases][releases] [![crates.io version][version-badge]][lib-rs]\n* [Contributing][contributing]\n\n[ci]: https://github.com/jbr/tide-testing/actions?query=workflow%3ACI\n[ci-badge]: https://github.com/jbr/tide-testing/workflows/CI/badge.svg\n[releases]: https://github.com/jbr/tide-testing/releases\n[docs]: https://docs.rs/tide-testing\n[contributing]: https://github.com/jbr/tide-testing/blob/main/.github/CONTRIBUTING.md\n[lib-rs]: https://lib.rs/tide-testing\n[docs-badge]: https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square\n[version-badge]: https://img.shields.io/crates/v/tide-testing.svg?style=flat-square\n\n## Installation\n```\n$ cargo add -D tide-testing\n```\n\n## Example usage:\n\n```rust\nlet mut app = tide::new();\napp.at(\"/\").get(|_| async { Ok(\"hello!\") });\n\nuse tide_testing::TideTestingExt;\nassert_eq!(app.get(\"/\").recv_string().await?, \"hello!\");\nassert_eq!(\n    app.post(\"/missing\").await?.status(),\n    tide::http::StatusCode::NotFound\n);\n```\n\n## Cargo Features:\n\n## Safety\nThis crate uses ``#![deny(unsafe_code)]`` to ensure everything is implemented in\n100% Safe Rust.\n\n## License\n\n\u003csup\u003e\nLicensed under either of \u003ca href=\"LICENSE-APACHE\"\u003eApache License, Version\n2.0\u003c/a\u003e or \u003ca href=\"LICENSE-MIT\"\u003eMIT license\u003c/a\u003e at your option.\n\u003c/sup\u003e\n\n\u003cbr/\u003e\n\n\u003csub\u003e\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this crate by you, as defined in the Apache-2.0 license, shall\nbe dual licensed as above, without any additional terms or conditions.\n\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-rs%2Ftide-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhttp-rs%2Ftide-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhttp-rs%2Ftide-testing/lists"}