Pep
Pep

Reputation: 152

executing Nunit tests

So basically I have my cs file, which uses Nunit.Testing, under the same project. When I go to "TEST>Execute>All Tests" it doesn't find any.

Where should I specify that this file is to be used for the tests? Thank you

I am using VS Express for Web 2013

Upvotes: 0

Views: 58

Answers (2)

Matt McCabe
Matt McCabe

Reputation: 3446

If you are able to run VS Express for Web 2013 then I'd suggest you get a copy of Visual Studio Community 2013, it's basically a free version of Visual Studio Pro 2013 and you can use NUnit with it no problems.

It also gives you a lot more than the Express editions.

Upvotes: 0

Thibault Nestor
Thibault Nestor

Reputation: 91

First of all, releases of Visual Studio prior to VS 11 did not have the ability to directly run tests built with Open Source testing frameworks like NUnit.

Basically, in order to run your NUnit tests, you can use the NUnit test runner GUI tool (look inside your NUnit install folder to find the nunit.exe file).

If you use VS 11 or later and want integrated test execution you can take a look at NUnit Test Adapter plugin. Resharper can also run NUnit tests directly from Visual Studio.

Upvotes: 1

Related Questions