Are you using Visual Studio Standard? You can only use MSTest with Visual Studio Professional and up.
However, you can use NUnit with visual studio standard. Take a look at this , it shows you how to get NUnit to show up as a testing framework in visual studio 2008 standard
For existing projects you can simply add a new class project to your solution. Then add the NUnit references and you should be good to go. If you're using resharper you can even use their test runner from withint visual studio.
philsoft
0 Points
3 Posts
can't attach a unit test
Jun 26, 2009 04:21 PM|LINK
VS 2008 (SP1) doesn't offer to add a unit test during new MVC project creating. How can I attach this one to my existing MVC project?
CodeHobo
All-Star
18669 Points
2648 Posts
Re: can't attach a unit test
Jun 26, 2009 05:25 PM|LINK
Are you using Visual Studio Standard? You can only use MSTest with Visual Studio Professional and up.
However, you can use NUnit with visual studio standard. Take a look at this , it shows you how to get NUnit to show up as a testing framework in visual studio 2008 standard
http://www.nikmakris.com/blog/2009/05/setting-up-aspnet-mvc-with-nunit-for.html
For existing projects you can simply add a new class project to your solution. Then add the NUnit references and you should be good to go. If you're using resharper you can even use their test runner from withint visual studio.
Blog | Twitter : @Hattan
philsoft
0 Points
3 Posts
Re: can't attach a unit test
Jun 28, 2009 07:47 AM|LINK
thnx, it was pretty helpful