Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

can anyone tell me the scenarios for online banking transaction ?

2159


Do write a separate test case for regression testing? If it is yes, explain how to write the test case?

1203


What is test startegy?

1272


what is the relation between all tabs in quality center & explain the testing process in quality center with tabs?

2059


What is Batch testing? Facets Benefit Configuration

2675


Can list out some disadvantages of manual testing?

1115


Any one please can u tell me what is composer? An interviewer asked me do u have experience in Composer? its urgent.

2081


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

2493


How will you determine when to stop testing?

1108


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

1969


What are the advantages of automation over manual testing?

1193


What is a test server?

1286


how to clarify functional requirements and non functional requirements in a srs?

2122


How can you use technology to solve problem?

2128


In manual testing, what are stubs and drivers?

1154