filmov
tv
Intro to Unit Testing with JUnit Aiming for Code Coverage

Показать описание
This is the 2nd part of my series on unit testing with JUnit. In this, we create a nested array of test data (known values). In this round, we create 1 set of values for each possible code page (code coverage).
We then create a for loop to loop through the test data and perform a test case for each array of possible known values.
We then create a for loop to loop through the test data and perform a test case for each array of possible known values.