id: flua-test-library topic: testing title: Self-asserting QAs — the flua-test library and --strict-tests pins: - tests/test_qa.py::test_example_self_test_passes_and_exits_zero - tests/test_dx.py::test_strict_tests_sticky_callback_failure verified: flua 0.1.170


Self-asserting QAs — the flua-test library and --strict-tests

The verification-legibility surface (ADR 0013's second promise): a QA can assert its own behavior and exit with the verdict as the exit code:

The recipe verify scenarios (recipe-verify-scenarios) are the same idea in declarative form; both exit 0/1 for CI.