What a defect is

The actual result does not match an expectation named in advance.

A defect is a mismatch between the actual result and an expectation you can point to. The expectation comes from a requirement, from behaviour already released, from the text on a button or from a rule the team stated out loud. "I do not like the colour" without an agreement is an opinion. "The button says Save, and the record disappears" is a defect.

It is better to write the expectation down before checking. If you first see something odd and only then decide what "should have happened", it is easy to mistake your guess for a requirement. A guess is marked as a question for the analyst, not as a high-priority bug.

One screen may hold both a defect and an inconvenience. They are not glued together. A defect gets fixed because the product lies. An inconvenience gets discussed because the product does what it promised, but at a high cost to the person. A developer sends a mixed report back with the question "what exactly should I fix".

No expectation means no defect; it means exploration. That is a normal phase, but a bug report has not grown out of it yet. First comes the statement "with these steps you get A, and by the rule it should be B". Until B is named, it is too early to open a report.

Practice

  1. Where the defect is

    Which statement is already a defect rather than a matter of taste?

    • I do not like the shade of the button
    • The Save button does not save the record
    • I would like a different icon
    • It seems it could look more modern
  2. What is missing

    The actual result is strange, but the expected behaviour has not been named yet. Is this already a defect report? Answer yes or no.

  3. What to keep apart

    Select the things that are different.

    • The record disappeared, although the button promised to save it
    • Saving works honestly, but takes three extra clicks
    • Both items must be one bug
    • A question about the requirement if the expectation is not written down