Boundary Value Analysis-7

8.0 Examples: Test Cases
For each example I will show test cases for the standard Boundary Value Analysis and the Worst-case testing techniques. These will show how the test cases are performed and how comprehensive the results are. There will not be test cases for Robustness testing or robust Worst-case testing as the cases covered should explain how the process works. Too many test cases would prove to be monotonous when trying to explain a concept, however when presenting a real project when the figures are more “necessary” all test cases should be detailed and explained to their full extent. 


8.1 Next Date problem
Standard Boundary Value Analysis test cases:

                       month               day              year
                      min = 1          min = 1      min = 1812 
                     min+ = 2       min+ = 2     min+ = 1813 
                      nom = 6        nom = 15    nom = 1912 
                     max- = 11     max- = 30   max- = 2011
                      max = 12      max = 31    max = 2012



Worst-Case Analysis test cases: 



As we can see there are only 60 of 125 test cases in this example, this shows the vast amount of test cases produced.


8.2 Tri-angle problem
Standard Boundary Value Analysis test cases: 

min = 1                     
min+ = 2 
nom = 100 
max- = 199 
max = 200 




Worst-Case Analysis test cases: 

Again this is only up to 60 of 125 test cases.