Difference between Defect, Bug, Error and Failure
What is a Defect?
1.The variation between the actual results and expected results is known as
defect.
2.If a developer finds an issue and corrects it by himself in the development
phase then it’s called a defect.
What is a Bug?
1.A software bug is an error, flaw or fault in a computer program or system that
causes it to produce an incorrect or unexpected result, or to behave in
unintended ways
2.In other terms, if testers find any mismatch in the application/system in testing
phase then they call it as Bug.
3.There is a contradiction in the usage of Bug and Defect. People widely say
the bug is an informal name for the defect.
What is an Error?
1.We can’t compile or run a program due to coding mistake in a program.
2.If a developer unable to successfully compile or run a program then they call
it as an error.
What is a Failure?
1.Once the product is deployed and customers find any issues then they call
the product as a failure product.
2.After release, if an end user finds an issue then that particular issue is called
as failure.