Skip to content

test(webapp): add integration tests for REST API endpoints#14

Merged
lostmygithubaccount merged 1 commit intomainfrom
cody/webapp-integration-tests
Apr 6, 2026
Merged

test(webapp): add integration tests for REST API endpoints#14
lostmygithubaccount merged 1 commit intomainfrom
cody/webapp-integration-tests

Conversation

@lostmygithubaccount
Copy link
Copy Markdown
Member

Summary

  • Adds 9 integration tests for the webapp REST API covering all major endpoints (GET /, POST /add/url, POST /delete/url, POST /add/group, POST /edit/url, error paths, sort queries)
  • Uses an in-memory Storage backend and tower::ServiceExt::oneshot for fast, isolated testing without binding a port
  • Adds http-body-util and tower as dev-dependencies

Generated with Claude Code

Adds 9 tests covering GET /, GET /content, POST /add/url, POST /add/group,
POST /delete/url, POST /edit/url, error cases, and sort queries. Uses an
in-memory Storage backend with tower::ServiceExt::oneshot for fast, isolated
request handling without binding a port.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lostmygithubaccount lostmygithubaccount enabled auto-merge (squash) April 6, 2026 01:33
@lostmygithubaccount lostmygithubaccount merged commit 24778c6 into main Apr 6, 2026
1 check passed
@lostmygithubaccount lostmygithubaccount deleted the cody/webapp-integration-tests branch April 6, 2026 01:37
lostmygithubaccount added a commit that referenced this pull request Apr 6, 2026
Adds lock entries for http-body-util and tower (added in #14 for
webapp integration tests).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
lostmygithubaccount added a commit that referenced this pull request Apr 6, 2026
Adds lock entries for http-body-util and tower (added in #14 for
webapp integration tests).

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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