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 is the template of ur co,when requirements are not clear,suppose Business Analyst is not there to whom to meet.what is the role of tester in req or design phase
how to report a bug to the developer?What is the structure of Bug tracking?
How to do Pixel Size testing in a PDF document. Is there any Open tool that will be avaiable?
Puzzles 1)Three geniuses stand in a file (one behind the other). Each can see only to the front, so the rear person can see the middle and the front, the middle person can see the front, and the genius in the front cannot see anyone. You have five hats. Two are white, and three are red. You blindfold the three geniuses, who are utterly truthful, and put a hat--at random-on the head of each. Then you hide the other two hats and remove the blindfolds. You then ask each genius to name the color of his hat (which he cannot see). The rear on says "I don't know." The middle on says, " I don't know." Then the front onw says, "I know." WHAT COLOR IS THE FRONT GENIUS' HAT? 2) one reasoning puzzle. 3) A monkey falls into a 30 ft well. Every day it climbs 3 ft up and falls 2 feet up. How many days will it take for it to jump out of the well.
what are the risk factors in the project? what is the base for testplan and entry criteria ,exit criteria for test plan?
The Managment is saying Stop Testing immediately some reasons.... What will you do at that time....
Difference between Severity & Priority?
Test cases for Recycle Bin
What is Binary Tree?
what is the difference between test strategy and test methodology?
About Hierarchy level in your company.
list of methods that is used to document the requirements of a software.