Explain the difference between decision coverage and
condition coverage ? If possible provide few examples.
Answer Posted / mfsi_krushnas
Decision Coverage
-----------------
1.Generally it says The test inputs to cover all
decisions(for ex:IF) will be in such a way that,those test
inputs can be able to make that decision block both true and
false.
for ex:
if(a>b)
print a;
endif
if (b>c)
print c;
else
print b;
endif
so here we should make test inputs in such a way that it
should able to make first if true and false although there
is no else condition.same for the second if block.
condition coverage
------------------
Here condition refers to the all possible conditions
existing in the program that we can traverse.
for ex:
if((a>b) && (b>c))
here inside the decision block there are conditions which we
should traverse.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
In our project, we use Withdrawal Indent, we are confused to use heading as "Withdrawal Indent" or "Withdraw Indent". Please suggest me which one to use ASAP, Thanks in advance
1)can u tell me, what is the roles and responsibles for database tester in DB testing from requirement stage to UAT stage....2) what are the i/p documents he wants and who wil give the i/p docs. to DB tester.and tell me what exactly db test case means what?
what are your thoughts on SPRINT duration
I have cleared written test and one Technical round in one company? now i have to face an Client Round through telephony? Any body have faced client round, how will it be , wil they ask technical or is it only formality round? im nervous, plz let me know wat all they may ask? i have this round on monday?
How can I use bugzilla in my company to track a bug and to allow the client to see the bug report online throughbugzilla. Please explain in detail. I am really need this.
What types of testing is specifically important for web testing?
What is the most important phase in STLC and Why
How do you test for the coockies for a web application?
how to write test cases on SRS?tell me any example which type of certification is usefull for less then 1 yr exp. people in testing. can anybody know immediatly sent it which the answer
What is quality center? What are the modules of quality center?
What is frame level testing and how do we test it?
Explain severity with example and expalin each example?
When do we perform smoke testing?
can you show me the test cases on registration form
What is an error?