How to add the unit testing functionality (in Visual Studio 2010 Ultimate Edition) for an already existing ASP.NET MVC project?
I have added Test Project to achieve TDD but it looks entirely different.
Thanks in advance.
How to add the unit testing functionality (in Visual Studio 2010 Ultimate Edition) for
Share
I think the easiest way is to create empty project with unit test project and then add existing project to the current solution. Fix namespaces, type names (if needed) and that’s it.
But you need to understand that you will have only couple sample tests and you will need to write your own to cover all code.