I'm studying measurement of good quality test case through Effective & Efficient.
Effective: it finds a high percentage of existing bugs. 60 test cases -> 60 bugs or 60 test cases -> 30 bugs?
Efficient: it has a high rate of success (bugs found/test cases). 20 test cases -> 8 bugs or 40 test cases -> 8 bugs?
Then it got me thinking, is it possible for a single test case to find multiple bugs? If so, can you give an example?
For me, I think it's impossible because each test case only have one expected value, thus it only aims to uncover a single bug.
Aucun commentaire:
Enregistrer un commentaire