Skip to content

feat: add mock transport and core test suites - #8

Merged
grdsdev merged 2 commits into
mainfrom
feat/mock-transport-tests
Dec 17, 2025
Merged

feat: add mock transport and core test suites#8
grdsdev merged 2 commits into
mainfrom
feat/mock-transport-tests

Conversation

@grdsdev

@grdsdev grdsdev commented Dec 17, 2025

Copy link
Copy Markdown
Owner

Summary

  • Add MockClientTransport for deterministic request/response testing.
  • Introduce core unit tests for Client, HTTPBody, errors, middleware chaining, and LoggingMiddleware.
  • Add integration tests (httpbin-style) for end-to-end request behavior.

Test plan

  • swift test
  • (Optional) Run integration tests with local httpbin (go-httpbin on 127.0.0.1:8081).

Add MockClientTransport for deterministic testing and introduce unit/integration coverage for Client, middleware, LoggingMiddleware, HTTPBody, and error wrapping.
@grdsdev
grdsdev merged commit e539b00 into main Dec 17, 2025
5 checks passed
@grdsdev
grdsdev deleted the feat/mock-transport-tests branch December 17, 2025 11:01
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