~15 min

Error, defect and failure

The cause-effect chain: human error, defect in the system and observable failure.

The cause-effect chain

A person makes an error (mistake), which introduces a defect (bug) into the software. When that defect is executed, it can produce a failure: an observable behavior different from the expected one. Distinguishing these three terms is one of the fundamentals of the QA vocabulary.

Error → Defect → Failure
TermWhat it isExample
Error (mistake)Incorrect human actionThe programmer writes '+' instead of '-'
Defect (bug)Imperfection in the artifactThe calculation code is incorrect
FailureIncorrect observable behaviorThe invoice shows a wrong total

Not every defect produces a failure: a defect only causes a failure if the faulty code runs under the right conditions. That is why 'not having seen a failure' does not mean 'there are no defects'.

QuestionToca para voltear

The user sees a wrong total on screen. Is it an error, defect or failure?

The incorrect code that lives inside the system is called…

¿Quieres guardar tu progreso?

Crea una cuenta gratis para guardar tu avance, ganar puntos e insignias y desbloquear los campus de ISTQB y Automatización.

Crear cuenta gratis
Siguiente Lección
Error, defect and failure | PlayQAcademy