Decision Coverage criteria(DC) for software testing

By: Prof. Dr. Fazal Rehman | Last updated: November 7, 2022

According to Decision Coverage criteria(DC) criteria, every decision must be covered. It means that each decision must have at least one True and one False value.  Decision Coverage ensures that all of the possible branches from each and every decision point is executed at least once and it ensures that all reachable code is executed at least one time
decision coverage
decision coverage

Example of Decision Coverage

Output
Test Case Value of X Expected Output Observed Output Decision Coverage Result
1 4 “x < 8” “x < 8” 50% Pass
2 15
  Test Requirements
Decision of (x < 8) Decision Coverage
T 50%
F 50%
Total 100%
 

Leave a Comment

All Copyrights Reserved 2025 Reserved by T4Tutorials