Chat Assistant Message

Breakpoint
State

A useful test starts with something a person can actually do.

Choose one small outcome

Take a request tracker. A visitor saves a request and reopens the app the next day. Check request.id to confirm it is the same record.

Replace the old check, visible after Save, with still visible after restart. Only the second check tests persistence.

  • The confirmation tells you that the app accepted the request.
  • The saved record tells you what was kept.
    • The name makes the record easy to find.
    • The description lets you check whether the contents changed.

Of those two pieces of evidence, only the saved record can tell you what will still be there tomorrow.

Check what survives a restart

Try the same sequence a returning visitor would use:

  1. Close the app and reopen it.
  2. Look up the request.
    1. Search for its original name.
    2. Open the result and compare the description.
  3. Record any difference.

If the name survived but the description did not, you know exactly which part of the promise failed.

FieldBefore restartAfter restartResult
NameKitchen lightKitchen lightKept
DescriptionFlickers when switched onEmptyLost

After reopening the app, check the description you read back against the one you saved:

assert.equal(
  (await requests.findByName("Kitchen light")).description,
  "Flickers when switched on",
);

If that assertion fails, keep the restarted record alongside the original so someone else can reproduce the loss.


When you write up the result, choose a heading that names the finding. For examples, see the heading guidelines.

Heading text should describe the section it introduces.

Heading Essence

"Description lost after restart" tells the reader more than "Test result". Put the steps underneath it rather than giving each step its own heading.

Use heading level for structure, not just visual size.

Heading Essence

For this report, a heading, the steps to reproduce the loss, and one sentence on what changed are enough.