Can anybody explain me branch/decision coverage with a
example.
Answer / nitin
Branch Coverage reveals, if all branches were executed. (For example, an if-instruction has two branches, the then-branch and the else-branch.)
Decision Coverage reveals, if all decisions evaluated to both true and false. (For example, the decision of an if-instruction is what is between the parentheses.)
if (x > y)
print (x)
else if (x < y)
print (y)
else
print (x,y)
in the above example there are three decisions and 5 branches.
stmt 1 if two branches true or false
stmt 3 else if teo branches true or false
stmt 5 else one branch
so pass values like
x = 2,1,2
y = 1,2,2
so that all three decisions and 5 branches are covered.
| Is This Answer Correct ? | 14 Yes | 4 No |
Explain Boundary value analysis?
with out any training on domain with out any document only with the help of build screen is it possible to write testcases
Suppose u found a bug which a developer could not reproduce and it is reproducing on your pc whenever tried , then in this siyuation what will be the status of the bug, and what u r going to do for that bug.
4 Answers Flextronics, Syntel,
Explain elementary process?
Fault-based testing is best reserved for Option 1 Conventional software testing Option 2 Operations and classes that are critical or suspect Option 3 Use-case validation Option 4 White-box testing of operator algorithms
Why does user inter-operability testing present such a big challenge to the testing effort?
How do you detemine wat to be tested?
1.what is the deference between priority and severity?
What is white box testing?
Tell me the algo for convering number into words. Meanse if the number is 4567 then it should print Four Thousand Five Hundred Sixty Seven
I have 3 years of experience as a software manual tester. What can i study further for a career growth. Please advice if there is anything apart from automation testing
difference between regression and retesting?