Skip to content

test: add coverage reporting, edge case tests, and thresholds#5

Merged
vvillait88 merged 1 commit intomainfrom
test/coverage-and-edge-cases
Apr 1, 2026
Merged

test: add coverage reporting, edge case tests, and thresholds#5
vvillait88 merged 1 commit intomainfrom
test/coverage-and-edge-cases

Conversation

@vvillait88
Copy link
Copy Markdown
Contributor

Summary

  • Add @vitest/coverage-v8 with 95% statement coverage threshold
  • Add 8 edge case tests (URL encoding, malformed errors, concurrent requests, option handling)
  • Add 2 E2E integration tests (assess+reputation flow, getAgents field validation)
  • CI now reports coverage on every run

Test plan

  • All 53 tests pass locally
  • Coverage threshold (95%) passes
  • E2E tests pass against real API
  • CI passes on PR

🤖 Generated with Claude Code

Add @vitest/coverage-v8 with 95% statement threshold. Add 8 edge case
tests (URL encoding, malformed errors, concurrent requests, option
handling) and 2 E2E integration tests. CI now reports coverage.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vvillait88 vvillait88 merged commit e04b454 into main Apr 1, 2026
5 checks passed
@vvillait88 vvillait88 deleted the test/coverage-and-edge-cases branch April 1, 2026 01:20
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