Req API Client Testing
- Wojtek Mach
- April 2nd, 2024
- req, http client, tests
A guide through different testing approaches with Req-based API clients.
A guide through different testing approaches with Req-based API clients.
Let's discuss the --warnings-as-errors option, how we can use it during compilation and tests, and finally our recommendations for using it in CI.
Our test tools often make it very easy to abuse mocks. This post provides some guidelines on using them properly by relying on explicit contracts.