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 pytest-cov with 94% fail-under threshold
  • Add 10 edge case tests (None handling, double close, concurrent async, timeout/connection errors)
  • Add 2 E2E integration tests (assess+reputation flow, getAgents field validation)
  • CI now reports coverage on every run

Test plan

  • All 64 tests pass locally (10 skipped without API key)
  • Coverage threshold (94%) passes
  • E2E tests pass against real API
  • CI passes on PR

🤖 Generated with Claude Code

Add pytest-cov with 94% fail-under threshold. Add 10 edge case tests
(None handling, double close, concurrent async, timeout/connection
errors) 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 b2132d4 into main Apr 1, 2026
6 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