error-vs-Defect-failure

Error:

A mistake done by humans at the coding phase will consider it as an error, which means error occurs at developer phase

 

Defect/bug:

When the error ignores at coding phase and caught by the testing team will consider it as defect/bug, which means defect occurs at the testing phase

 

Failure:

When a defect ignores, moves to production and identified by the user will consider it as a failure.

Click here: WHAT IS TESTING TOOLS | SOFTWARE TESTING LIFE CYCLE(STLC):

 

Click here:  SOFTWARE TESTING LIFE CYCLE | SOFTWARE TESTING LIFE CYCLE PHASES