v0.3.0 — Journey Test Honesty
Journey Test Honesty
Specflow no longer trusts that test files exist. It verifies they exercise the real path.
What's new
run-journey-tests.sh now audits test files before running them:
- No
page.gotoorrequest.*calls → fail (not a real journey test) - All tests use
test.skip()→ fail (skipped is not passed) - Mocking detected (
jest.fn,vi.fn) → fail (must exercise real path) - Contract
required_patternschecked against test content - Contract
forbidden_patternschecked against test content
Why
HOOK-724–727 incident on hooktunnel-web. Four test files existed, passed all Specflow checks. All were regex scans or test.skip() — none exercised the real path. Platform canary was broken for weeks.
Also in this release
verify-setup.sh: Board CLI installation check, Repository vs git remote validationgit logdepth increased from 5 to 20 for feature branch coverageinstall-hooks.sh: dynamic hook copy (new hooks auto-installed)specflow-writer.md: MANDATORY OUTPUT RULES at topCONTRACT-SCHEMA.md:test_hooks.required_patternsandforbidden_patterns- Full CHANGELOG.md covering all 14 versions
Install / Update
npx @colmbyrne/specflow update . --ci
npx @colmbyrne/specflow verify