Open source C# projects with both unit tests and mocks (not MVC projects)
I would like to know of any prominent projects in Codeplex, GitHub etc whic开发者_如何学Pythonh are C# with ASP.NET or even just C# APIs with both functioning tests (NUnit) and mocks (RhinoMocks, NMock etc).
The emphasis is on both tests and mocks.
look at AutoMapper project
This is not ASP.NET but good for investigate Unit tests
You said not MVC projects, but is the actual ASP.NET MVC framework ok?
Its got a few thousand tests, and uses mocking extensively.
Aside from that, NHibernate, Sharp Architecture, FluentNHiberante etc have pretty good unit tests and mocks.
精彩评论