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
can anyone tell me the scenarios for online banking transaction ?
Do write a separate test case for regression testing? If it is yes, explain how to write the test case?
What is test startegy?
what is the relation between all tabs in quality center & explain the testing process in quality center with tabs?
What is Batch testing? Facets Benefit Configuration
Can list out some disadvantages of manual testing?
Any one please can u tell me what is composer? An interviewer asked me do u have experience in Composer? its urgent.
tell me 3 defects in FRS document, while doing FRS review which u have found in the last 3 years ? could u plz answer brahma412@yahoo.co.in
How will you determine when to stop testing?
I have 2+ year of work exp in manual testing and i have good knowledge in QTP.anybody have requirement in your company please please tell me
What are the advantages of automation over manual testing?
What is a test server?
how to clarify functional requirements and non functional requirements in a srs?
How can you use technology to solve problem?
In manual testing, what are stubs and drivers?