Skip to content

docs: show humatest.Wrap for adapter-specific middleware - #1154

Merged
robtme merged 1 commit into
mainfrom
docs/humatest-wrap-adapter
Oct 28, 2026
Merged

robtme merged 1 commit into
mainfrom
docs/humatest-wrap-adapter

Conversation

@robtme

@robtme robtme commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Middleware that calls humago.Unwrap panics under humatest.New, because that test API runs on its own internal adapter. humatest.Wrap already fixes this by sending requests through the wrapped API's own adapter, but the docs never mention it. This adds a short section to the test utilities page and a note on humatest.New.

Closes #1033

@codecov

codecov Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.72%. Comparing base (cdd3351) to head (0187bd8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1154   +/-   ##
=======================================
  Coverage   94.72%   94.72%           
=======================================
  Files          25       25           
  Lines        5195     5195           
=======================================
  Hits         4921     4921           
  Misses        269      269           
  Partials        5        5           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@robtme
robtme merged commit dcdadba into main Oct 28, 2026
7 checks passed
@robtme
robtme deleted the docs/humatest-wrap-adapter branch October 28, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

humatest compatibility with humago

1 participant