Stepping through ASP.NET MVC in Action (2009) - and stuck on nunit issue

Posted by Jen on Stack Overflow See other posts from Stack Overflow or by Jen
Published on 2010-04-06T08:01:16Z Indexed on 2010/04/06 8:03 UTC
Read the original article Hit count: 204

Filed under:
|
|

I seem to have missed something - in this step through it talks through downloading nunit and changing the original MSTest reference to NUnit. Which seems fine until it talks about running the test with UnitRun from JetBrains.

I would have thought I could run nUnit to be able to run the test - but I load my project in the nUnit gui and I get "This assembly was not built with any known testing framework". This after running the Nunit-2.5.3.9346.msi. Or am I supposed to be able to run tests from within visual studio 2008?

After some research I find this: http://www.jetbrains.com/unitrun/

(ie. it seems to be saying this is no longer supported and I'm thinking JetBrains Resharper may cost money?). I'm a little rusty on my NUnit experience. So how do I go ahead and run my test? Is the error message I'm getting considered abnormal?

I've added a reference in my MvcApplication.Tests project to the nunit.framework. Is this the wrong reference to add?

Thanks :)

© Stack Overflow or respective owner

Related posts about .NET

Related posts about mvc