Quality tests
Tests that hold quality: which risk they catch, which indicator they measure, at which level they run, where the test code lives and what the threshold is.
A quality test is a check that holds the quality of a product: it catches a risk, measures an indicator or proves a requirement. One record is one test. The test code itself lives in the product's repository; here is why it exists, at which level it runs and where to find it.
How to add one. The file name is t-<what it checks>.md, the code is QT-<number>. Write at once which risk or indicator the test holds, its level and how it runs. Example: "The agent does not send an email without a human's confirmation", level 2, automated test, catches the risk of publishing outward.
Where the test is. test is the path to the file and the name of the test: tests/acceptance/leads/kp.test.ts::email waits for confirmation. If there is no path, testState says why: the test is not yet in main, the check is manual, or there is no test yet.
Threshold. If the test compares a number, the threshold is written in threshold, and thresholdSource says where it comes from: from the contract or set by us.
How we test: How to test. How to read coverage: Coverage. States are in the tests contour.
/quality/tests.md.Source text