Purpose
Add E2E tests to CI pipeline with coverage reporting and quality gates.
Technical Details
- Add
test:e2e script to package.json: bun test test/e2e/
- Add
test:all script: bun test (runs unit + e2e)
- Coverage:
bun test --coverage with lcov output
- CI step: run E2E tests after unit tests
- Coverage threshold: 80% line coverage for E2E suite
- Badge: add coverage badge to README.md
Files to Modify
package.json — add scripts
.github/workflows/test.yml — add E2E step (if exists, else create)
README.md — add coverage badge
Acceptance Criteria
Purpose
Add E2E tests to CI pipeline with coverage reporting and quality gates.
Technical Details
test:e2escript topackage.json:bun test test/e2e/test:allscript:bun test(runs unit + e2e)bun test --coveragewith lcov outputFiles to Modify
package.json— add scripts.github/workflows/test.yml— add E2E step (if exists, else create)README.md— add coverage badgeAcceptance Criteria
bun run test:e2epasses locally