Last time I was reading about a project, folks were arguing they had many many tests.
But what is exactly this measurement ? Do we have to count the number of classes that extend
JUnit TestCase, or the number of
test*(..)methods, or the number of calls to JUnit
The current figures for AspectWerkz are pretty much those one:
- 92 extends TestCase
- 544 test*() methods
- 1380 calls to assert*(..)
Off course, what would matter would be the coverage (that has several definitions as well), but still, the number of test in an interesting thing to define.
So how many tests do I have ?