jsmith
jsmith

Reputation: 575

Turn visual studio project testfixtures into nunit dll

I have a visual studio project. I later added a .cs file for testing and have added the appropriate 'using' statements and [Test] and [Testfixture] attributes. When I open the nunit gui application, however, it only accepts .dll, .exe, and .nunit files. I was wondering what exact steps I need to take to execute the tests I wrote. Is it possible to do so directly in visual studio?

Upvotes: 0

Views: 668

Answers (2)

RBZ
RBZ

Reputation: 2074

Right now, Resharper is the best solution.

Test Driven .Net is the best free solution I know of.

Visual Studio 11 will finally allow for 3rd part testing framework plugins.

Upvotes: 1

ThomasCle
ThomasCle

Reputation: 6801

You should add the NUnit dll as a reference on your project. JetBrains' Resharper is able to run the tests inside Visual Studio. Read more about Resharpers unittesting here. JetBrains has also developed a line coverage tool: dotCover.

Upvotes: 1

Related Questions