Testing and QA — From Zero Coverage to 80%
Automated test generation with test theater detection and AI-generated test provenance.
Architecture diagram
Context
Project with low test coverage where architect generates tests, vigil detects test theater (empty tests, fake asserts), and licit tracks which tests were AI-generated.
Flow with 4 tools
△ Phase 01 — architect
Test generation
Writer-reviewer pipeline for generating tests with cross-verification.
△ architect
architect pipeline pipelines/test-generation.yaml \
--var target_module="src/services/payment/" ◇ Phase 02 — vigil
Test theater detection
Detects empty tests, asserts without real logic, and inflated coverage.
◇ vigil
vigil tests --quality tests/ --format json ⬡ Phase 03 — licit
Test provenance
Tracks which tests were AI-generated for audits.
⬡ licit
licit trace
licit report --format json --output qa-compliance.json