Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Condition Coverage criteria(CC) in software testing

Last modified on January 7th, 2019 at 8:57 am

Condition Coverage criteria(CC) for software testing

According to Condition Coverage (CC) criteria, every condition must be covered. It means that each condition must have at least one True and one False value. Condition coverage and decision coverage have no subsumption relationship.

Condition C1Condition C2
TDon’t Care
FDon’t Care
Don’t CareT
Don’t CareF

Table 1: C1 and C2 both have at least one T and one F value.

Programming example.

void main (int a, int b)


if(a<b && a+b<20)


Cout<<”welcome to our tutorials website”<<endl;


cout<<”welcome to T4Tutorials.com”<<endl;



cout<<”Thank you for your time on our website”<<endl;


Test Requirements.

If all test requirements were met, then we can say that we have correctly performed CC criteria.

1TDon’t careDon’t care
2FDon’t careDon’t care
3Don’t careTDon’t care
4Don’t careFDon’t care
5Don’t careDon’t careT
6Don’t careDon’t careF

Now, we can generate test cases from these test requirements.

TC#Test CaseC1C2C3T.R met
1(7,8)TTT1, 3, 5

Some facts about Condition Coverage criteria (CC).

CC ensures that all conditions must have at least one T and one F value.

CC is weaker than CDC.

CC is weaker than MCDC.

CC is weaker than MCC.

Prof. Fazal Rehman Shamil
Researcher, Publisher of International Journal Of Software Technology & Science ISSN: 2616-5325
Instructor, SEO Expert, Web Programmer and poet.
Feel free to contact.