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 |
what are different reports prepared by a tester and their templates.
what is waterfall model?explain? what is v model? explain all phase?and the difference between two model?
7)In a Banking Application, for a module to pay a bill it must have 3 screens (Entry, verification and confirmation screens) in series. It was found that at the final confirmation page the data was getting saved in the database but was not getting displayed on the screen. Which is the best suited category and severity of this defect? A)High severity Content issue B)Low severity Content issue C)High severity Data Loss D)Medium severity data loss
Do testers have to write separate test cases for performing sanity testing??
what is RCA and how to do root cause analysis
In which all places, testing is done?One is from the server by calling server name.Can u suggest others?
as test eng ,what challenges have u faced in ur 3 projects so far? tell me atleast 3 challenges in ur projects? july 27 brahma412@yahoo.co.in
What certifications are available in testing?
difference between test strategy,test plan and test methodology. which will create first and who will create those and is there anyone optional in that
what is test strategy,test plan and test policy?Does anyone have dummy documents or any links that gives more idea about these?I am a beginner...interested in learning more abt testing.plz help and encourage me........!
I want test cases for CLI? can any one send TC for CLI?
Why we use Excell sheet not the Microsoft Word to write test cases and all? Why ?