|
I've just started working with MVC in VS2012 and would like to develop unit tests while developing. What are the preferred standards or conventions for unit testing in this environment?
I find that I prefer the 2010 environment for testing simply for the private accessor and easy test generation. My problem is I'm having a hard time deciding if I want to use mocking or constructor injection and which would lend to cleaner code. What are the preferences around here?
|
|
|
|