Choose fictional cases for checking a rule
Write the expected result before running a trial.
Choose cases by differences in their input conditions. One successful ordinary example does not test every restriction. Record expectations first, then compare them with observations; a small set does not establish complete coverage.
What to do
- State the full rule and define what counts as a filled or selected value.
- Choose an ordinary case and isolated violations, labelling each expected outcome beforehand.
- After a trial, save actual results and separately list combinations not yet tested.
Example
Fictional form: accept a nonempty title with category A. Cases: “Sheet/A” accepted; empty title/A rejected; “Sheet/no category” rejected. That gives 1 expected acceptance and 2 expected rejections. These are expectations, not execution results.
My Day · Windows
My Day can store cases and expectations as text. It does not automatically run this test set.