GitXplorerGitXplorer
l

reqwest_mock

public
16 stars
7 forks
0 issues

Commits

List of commits on branch master.
Verified
2aad99faf26ccc454dd175f91f6b8e71b31f4841

End of maintenance

lleoschwarz committed 2 years ago
Verified
59f16aa2491f3cd7c57d68be5b43f7e3f17f0e4e

Merge pull request #31 from jstasiak/fix-references

lleoschwarz committed 4 years ago
Unverified
c3b0be9057d3996e213cf6b44f862f6ca5b5fe93

Fix some links, they're 404-ing now

jjstasiak committed 4 years ago
Unverified
4ea202f34c6fe831946977562af720396a3d2c1a

Bump version for next release.

lleoschwarz committed 5 years ago
Verified
4747dcbdb0a09a5366bcef8aba4c887583c0542e

Merge pull request #27 from mathstuf/missing-debug-impl

lleoschwarz committed 5 years ago
Unverified
173019f6a35509bf038a66b21a575f85293608f0

Add todo

lleoschwarz committed 5 years ago

README

The README file for this repository.

reqwest_mock: Discontinued

Thank you for your interest in this project. This project was a proof of concept to create a generic interface for the Rust reqwest crate that would allow users to mock and record and replay HTTP requests for testing purposes.

This project is no longer updated or maintained and this repository will be archived.

The following non-exhaustive list of alternative solutions are recommended instead to mock HTTP requests in Rust (as of 18.5.2023):

Old readme

Crates.io Link

Provides a mockable reqwest-like HTTP client.

Write your code generic over the Client trait, and in production use DirectClient while in testing you can use ReplayClient, which will record a request the first time and replay it every time the exact same request is made in the future.