Wednesday 18 July 2012

Difference between Error, Bug, Defect and Failure

Error 
Error occurs when the the human being makes a mistake in code.


Failure
When the code which has got error executed, then the system fails to perform what it should actually perform. Thus, this results to failure


Bug
When the actual result fails to match with the expected result then it is called as bug.

Defect 
If there is is discrepancy in following steps or process, then this results to unexpected behavior then it is defect. 


Hence,
If the programmer does some mistake in coding then it is ERROR,
This ERROR when found by tester is DEFECT,
The DEFECT when accepted by the programmer or developer is called BUG,
And thus, discrepancy between actual result and expected result is called FAILURE.



The failure in program occurs because of several reasons there are bugs in software due to unclear or constantly changing requirements, software complexity, programming errors, timelines, errors in bug tracking, communication gap, documentation errors, deviation from standards etc and many other



No comments:

Post a Comment