We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questioni'm starting to learn TDD, Unit-testing on asp.net mvc and i'm trying to pickup all these mocking via MOQ.
so i'm looking for any good asp.net mvc projects which source codes are made available to mere mortals like me :)
i've found some good asp.net mvc source codes but not those that uses MOQ specifically.
- the asp.net mvc source code
- code camp server
- suteki shop
So does anybody know any good open source asp.net mvc project which have g开发者_如何学Goood test/tdd examples using MOQ?
This is more of a sample/tutorial application rather than an open source project, but I think it meets your criteria:
http://nerddinner.codeplex.com/
IMHO, the Kigg project is an excellent example of applying TDD (and other best pracices such as DI, appropriate use of mocks/stubs) principles in an MVC project. As a bonus, the project uses Moq extensively.
精彩评论