What it does
A file that behaves as a test suite, many named cases, a real pass/fail tally, is recognised as one only by its name, attack-*.mjs, so a suite-shaped file under any other name reads as ordinary product code.
How it helps you
Test suites get recognized by what they do, whatever their file names.
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 |