Which opensource java or .net project has best unit test coverage?
I want to dive more into the unit testing concepts. An open source project which will illustrate the best practices in unit testing is required.
I work on CruiseControl (original Java version) and I think it is worth considering as a source of study for a few reasons:
- Lots of unit tests. Certainly not the highest coverage but there are plenty to look at.
- Diverse technology. There are pojos, tag libs, velocity macros, spring, etc.
- Uneven quality of unit tests. Because we take contributions from outside the quality and throughness of unit tests vary. The core classes are very well tested. Lots of the contributions are untested or poorly tested. Consider the poorly tested ones as "an exercise left for the reader". ;)
- Maybe the best reason: You can ask questions about the tests on developer mailing list. In the best case you could even end up writing tests for some of the untested areas and get coaching on your efforts.