How the Error, Defect and Bug are related to each other ?.
Answers were Sorted based on User's Feedback
Answer / priya
Error: It is the term used to describe a non-conformance to
the explicitly stated requirement.
For example: Let me explain with an example. If the
requirement mentions 5 Plus 3 Divided by 4; the programmer
codes to add 5 and 3 first; and then divides the result [8]
by 4 to arrive at result 2.
But if the actual/intended application requirement is to
first divide 3 by 4 and then add 5; expecting a result 5.75
then this is a classic Design/Code Error.
Bug: Assume that the programmer has actually understood the
intended requirement correctly but has declared/stored the
result as an integer to show a result of 5 instead of 5.75 –
this is called a Bug. Here the programmer has to declare the
variable as “double or float” and not “int”.
Defect: A defect is any of the above but found/un-covered in
the “released-application” - running in the “Production
Servers” [gone “Live”] or may be in “Beta-Release”.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / phaninath
the terms error,bug,defect are nearly inter connect to each
other.
error:mistake in the program
defect:mistake found by the test engg is called defect
bug:if the defect is accepted by the developer is called
BUG: in other words Expected result not equalto Actual
result is called bug,
for other clarification mail me at
phani555chintapalli@gmail.com
no:9247585911
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / priya
If in the Req it is to first divide 3 by 4 and then add 5;
Error : the programmer codes to add 5 and 3 first and then
divides the result ( calculation is not doone as mentioned
in the req )
Bug: programmer understands but declares the variable
differently ie in this case, it must be double or float
but declares it as int.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / saraswathip28
Defect:deviation from the requirement specification
Bug:deviation from the Functional specification
Error:related to source code like syntax error,logical
error etc
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / anjali
In an interview point of vie all these sounds same which
interrupts the succesful execution and expected out. But in
general
Error: i sthe mistake performed by the developer like
syntax error
Bug: is the deviation between the Actual out put and the
expected output.
Defect: Bugs that are accepted by the developer is called
defect
Is This Answer Correct ? | 2 Yes | 1 No |
Please Explain Mathematically.Its Very Important.please
Is This Answer Correct ? | 0 Yes | 0 No |
HI Priya, Please Explain Mathematically.Its Very
Important.please
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ch.s.m.prasad
error : A mistake in a coding is called error
defect or issue: due to errors in coding testing engineers
are getting mismatches of our app. build this is defect or
issue
bug: these defects or issues are accepted by the developers
then it is bug.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / raj
Difference Between Defect & Bug?
http://24x7training.blogspot.com/2010/05/joke-on-software-
testing.html
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / hash
Error : Deviation between actual and the expected behavior/value .
Bug : An Error found in the development environment before the product is shipped to the customer or say User Acceptance Test phase .
Defect : An Error found in the product itself after it is shipped to the customer or say User Acceptance Test phase .
Is This Answer Correct ? | 0 Yes | 0 No |
what are testing Techniques? Pls answer
What is sanity testing? and how to do sanity testing for a telephone
What is broken link? how to test in a web application.
2 Answers Innovizia Technologies, IT Works,
feasibility testing ??
I m beginner to testing.. plz send me manual testing material or tell me best site for testing where i can get from fundamentals...
what is adhoc testing n when it wil be done?
Is testing is done for ERP Products.?? like SAP R/3,If yes please send me a notes/Details. Thank you in advance
What is Entry and Exit Criteria in Testing Process?
What is validation in software testing?
Define Deployment and User Acceptance.
What is Buddy testing?
What a team leader will test first when s/he will get new module to test?