Skip to content

test(client): Consolidate HTTP test transports - #26

Merged
philprime merged 1 commit into
mainfrom
test/consolidate-http-transports
Sep 15, 2026
Merged

philprime merged 1 commit into
mainfrom
test/consolidate-http-transports

Conversation

@philprime

Copy link
Copy Markdown
Member

Replace nine private HTTP test doubles with one shared, URL-keyed transport that supports HTTP responses, arbitrary responses, failures, and request recording. Keep scenario fixtures local and leave production code and rendering unchanged.

Unexpected requests now record a test failure even when the client catches the error. A focused helper test verifies this using an intentional known issue.

Verification

make test passed with 114 tests and the intentional known issue above. make analyze passed, and make build confirmed the release binary is up to date.

@philprime
philprime marked this pull request as ready for review September 15, 2026 13:46
@philprime
philprime enabled auto-merge (squash) September 15, 2026 13:47
@philprime
philprime merged commit 2008d8f into main Sep 15, 2026
15 checks passed
@philprime
philprime deleted the test/consolidate-http-transports branch September 15, 2026 13:51
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.

1 participant