Are there any .net based open source project which uses unit testing techniques to its best? I am looking for an open source project where the complete code base is covered with unit tests which are well written and from which we can learn new techniques and practices of doing proper unit testing.
views:
107answers:
3If you want to see some database stuff, look at NHibernate and Castle's ActiveRecord. They both have unit tests in their source, and they are very popular projects.
NodaTime is just getting started and it might be useful to read through the discussions to see how the contributors decide how to approach unit testing. It might be useful to keep tabs on how it is developed.
I would recommend Rob Conery’s MVC-Storefront/Kona project. Last year I was looking for Test Driven Development examples, and found Rob's Project. He creates this project from scratch using TDD development principals so it has a slew of Unit tests for both the UI and data layer. The best part is it’s a real world application, so you can see how he solved a lot of common testing problems.