Which open source java or .net project has the best unit test coverage?

I want to dive more into the concept of unit testing. An open source project is required that illustrates best practices for unit testing.

0


source to share


3 answers


I am working on CruiseControl (original Java version) and I think it is worth considering as a source of research for several reasons



  • Lots of unit tests. Certainly not the highest coverage, but there is a lot to look at.
  • Diverse technology. There are pojos, libs tags, speed macros, spring, etc.
  • Uneven quality of unit tests. Because we take part outside the quality and endurance of unit tests. The core classes are very well tested. Many contributions are unverified or poorly tested. Consider poorly tested ones as "an exercise for the reader".;)
  • Perhaps the best reason. You can ask questions about the tests on the developers mailing list . At best, you can even write tests for some unverified areas and get coached in your efforts.
+3


source


The source code of NUnit (.NET testing software) is noteworthy.



0


source


You may be able to get the Spring Framework source code , the team behind it protects test-driven development and the framework is available as for Java.net.

0


source







All Articles