What is a software fault in testing?

testing

Solution

You might be interested in this SE Radio podcast where iirc, they're described as:

- fault: The actual 'mistake' in the code

- error: The bad state in the system that results from the fault.

- failure: The variation from expected behaviour observed by the user as a result of the error.

Problem

I'm taking a grad class on software testing and we spent a whole class on the difference between faults, errors, and failures. I was dissatisfied by the definition of a software fault in testing. What's your definition?

Original source