[docs] Phase2Pictures: Record the Phase 2-3 pictures, their review and the fox's draft look
This commit is contained in:
@@ -73,3 +73,17 @@ case. It fails only under load, and then it looks like a bug in the code that ca
|
||||
**How to apply it.** When the first case of a file loads something heavy (a linter, a
|
||||
compiler, a browser), load it in `beforeAll` with an explicit timeout. If only the first case
|
||||
of a file times out, suspect a cold start before suspecting the code.
|
||||
|
||||
## An example of "missing" must stay missing
|
||||
|
||||
**What happened.** On 2026-11-01 two art-prep tests used *fox* as their example of a thing not
|
||||
in the manifest: `unknown character "fox"` and `"fox-sheet" is not a picture`. The fox was the
|
||||
next character on the roadmap. Adding him made both tests fail. They now name an owl, which no
|
||||
plan mentions.
|
||||
|
||||
**Why it bit.** A negative test takes its example from what is not there yet, and the next
|
||||
thing on the roadmap is exactly what is not there yet. The test then fails on the day the
|
||||
feature lands, for a reason that has nothing to do with the feature.
|
||||
|
||||
**How to apply it.** For a "does not exist" example, pick a name no plan will ever add (an owl
|
||||
in a game with a fox, `owl-sheet`), never the next item on the roadmap.
|
||||
|
||||
Reference in New Issue
Block a user