Repository navigation
docs: compare pytest-httpx with RESPX - #244
Merged
Colin-b merged 3 commits intoOct 19, 2026
Merged
Conversation
Colin-b
reviewed
Oct 14, 2026
Colin-b
reviewed
Oct 14, 2026
Colin-b
reviewed
Oct 14, 2026
Colin-b
reviewed
Oct 14, 2026
Colin-b
reviewed
Oct 14, 2026
|
Owner
|
Thanks a lot @Ehsan-hash |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #244 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 7 7
Lines 366 366
Branches 69 69
=========================================
Hits 366 366 ☔ View full report in Codecov by Harness. |
Colin-b
approved these changes
Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Closes #7.
Compare fixture setup, request matching, response reuse and request inspection with RESPX. Examples show returning a response without checking the request, and matching request content when registering a response. The comparison links both libraries' configuration options and sits after the migration sections.
Checked with HTTPX 0.28.1 and RESPX 0.23.1: all four README examples and ten other behavior checks pass, including rejection of incorrect request content. The existing 346 tests pass with 100% coverage, and the applicable README pre-commit checks pass. Independent read-only review completed before pushing this revision.