File the test-presence and importer-filter gap #725
@@ -6,12 +6,13 @@
|
||||
|
||||
`Bar = 0.1`
|
||||
|
||||
`Next ID = 543`
|
||||
`Next ID = 544`
|
||||
|
||||
## Items
|
||||
|
||||
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| 543 | 0.16.0 | | | **Add to the testing principles that a test scanning rows for an exception asserts the exception exists, and that a data importer does not drop a row its own fixups complete.** | 1 | 2 | 3 | 4 | 2 | 1.1 by 3 | 1.2 |
|
||||
| 524 | 0.16.0 | | owner | **Write fejkdata's first six bench features, each a spec, acceptance tests in Go and a reference patch that builds it, in the `bench-tasks` folder its config names.** | 3 | 2 | 1 | 4 | 6 | 1.1 by 3 | 0.5 |
|
||||
| 527 | 0.16.0 | | owner | **Plant bugs for `task-bench` in TypeScript, from the mutants Stryker kills.** | 3 | 2 | 1 | 4 | 4 | 1.1 by 1 | 0.3 |
|
||||
| 528 | 0.16.0 | | owner | **Plant bugs for `task-bench` in PHP, from the mutants Infection kills.** | 3 | 2 | 1 | 4 | 4 | 1.1 by 1 | 0.3 |
|
||||
@@ -113,6 +114,15 @@
|
||||
|
||||
## Details
|
||||
|
||||
### 543. Add to the testing principles that a test scanning rows for an exception asserts the exception exists, and that a data importer does not drop a row its own fixups complete.
|
||||
|
||||
Two findings an outside reviewer raised on a data change that our review missed:
|
||||
|
||||
- A test scanned every row of a shipped table and asserted that exactly one named row held an empty cell. It passed when the table had no such row at all, since the loop never met it. A test that scans for an exception must also fail when the exception is absent.
|
||||
- An importer filtered source rows on a field before applying its fixups for that field, so a fixup that blanked the field on one row could not keep the row once the source left it empty. A filter on a field reads the value after the fixups, or exempts the fixed-up rows.
|
||||
|
||||
Put the first in `principles/technical-principles.md` under tests ("each test earns its keep"), and the second beside the rule on inputs that cannot disagree or in stability-reviewer's checks. Where a deterministic check can find the first, such as a mutant that deletes the exception's row, prefer that over prose.
|
||||
|
||||
### 524. Write fejkdata's first six bench features, each a spec, acceptance tests in Go and a reference patch that builds it, in the `bench-tasks` folder its config names.
|
||||
|
||||
The second part of item 504, which says what a bench feature is and when a run counts. A stronger model than the project's writes the six, once. Each breaks one of fejkdata's goals while it would suit another audience:
|
||||
|
||||
Reference in New Issue
Block a user