I’m preparing some educational/training material with respect to Unit Testing, and want to double check some vocabulary.
In an example I’m using the developer has tested a Facade for all possible inputs but hasn’t tested the more granular units ‘behind’ it.
Would one still say that the tests have “full coverage” – given they cover the entire range of inputs? I feel like “full coverage” is generally used to denote coverage of code/units… but there would certainly be full something when testing all possible inputs.
What’s the other word I’m looking for?
If all possible inputs don’t give you 100% code coverage, you have 100% scenario coverage, but not complete code coverage.
On that note, if you have 100% scenario coverage without full code coverage, you have dead code and you should think real hard about why it exists.