You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the crates.io testsuite we are currently using a custom HTTP mocking setup, based on implementing an HTTP proxy server that intercepts reqwest requests.
This setup is somewhat hard to use though, and it might be possible to use something like https://docs.rs/mockito instead, which could make it easier to understand and write tests for our codebase.
#3121 already introduces the mockito dependency for HTTP mocking of the pagerduty API, but it might be worth investigating if we could use it the same way for the GitHub and S3 API requests.
The text was updated successfully, but these errors were encountered:
In the crates.io testsuite we are currently using a custom HTTP mocking setup, based on implementing an HTTP proxy server that intercepts
reqwest
requests.This setup is somewhat hard to use though, and it might be possible to use something like https://docs.rs/mockito instead, which could make it easier to understand and write tests for our codebase.
#3121 already introduces the
mockito
dependency for HTTP mocking of the pagerduty API, but it might be worth investigating if we could use it the same way for the GitHub and S3 API requests.The text was updated successfully, but these errors were encountered: