What it does
Add-gate.mjs:405 decides whether a gate's expect names a real case by searching the SUITE'S SOURCE TEXT for that exact string: if (!suite.includes(g.expect)) problems.push("no case in the suite is literally named by this expect").
How it helps you
Test registration confirms a test case exists by running it.
Tested against itself
3 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Test quality |
|---|---|
| Also filed under | Code quality |
| Checks in this category | 264 |
| ISO/IEC 25010 | Maintainability: testability |
| Breaks caught | 3 |