Files
bitvid/context/CONTEXT_2025-02-18.md
T
google-labs-jules[bot]andPR0M3TH3AN 661a51084e feat(test-audit): Add daily test integrity and coverage audit workflow
- Adds `scripts/run-test-audit.sh` to automate unit test execution with coverage.
- Adds `scripts/analyze-flakiness.mjs` to detect test flakiness.
- Adds `scripts/static-test-analysis.mjs` to find suspicious test patterns.
- Adds `scripts/coverage-gap-analysis.mjs` to identify critical coverage gaps.
- Adds `scripts/generate-audit-report.mjs` to produce markdown reports.
- Generates initial audit report `test-audit-report-2025-02-18.md` and `issues/ISSUE_test_audit_findings.md`.
- Documents findings in `decisions/DECISIONS_2025-02-18.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-18 20:17:01 +00:00

750 B

Test Audit Context - 2025-02-18

Mission

To audit the test suite for behavior fidelity, determinism, and cheat vectors. The goal is to build a daily test-audit workflow that identifies flaky tests, suspicious patterns, and coverage gaps in critical modules.

Scope

  • Unit tests (tests/ excluding visual/ and e2e/).
  • Critical modules:
    • js/services/authService.js
    • js/relayManager.js
    • js/nostr/dmDecryptWorker.js
    • js/nostr/watchHistory.js
    • js/userBlocks.js

Definition of Done

  • test-audit-report-YYYY-MM-DD.md generated.
  • test-audit/flakiness-matrix.json generated.
  • test-audit/suspicious-tests.json generated.
  • test-audit/coverage-gaps.json generated.
  • Prioritized remediation tasks identified.