How to use NUnit GUI with a C#/ASP.NET website?

Posted by Amber Shah on Stack Overflow See other posts from Stack Overflow or by Amber Shah
Published on 2010-05-21T18:31:01Z Indexed on 2010/05/25 19:51 UTC
Read the original article Hit count: 332

Filed under:
|

I have a C#/ASP.NET website that has some code (*.cs) files in the App_Code directory. I would like to test them using NUnit. I have written a test file with the proper [TestFixture] and [Test] annotations and have put it here: App_Code/Test/TestClassName.cs.

I load up the NUnit GUI to run it but it wants me to select a .exe or .dll file. There is none in the bin folder of my project. My project does successfully run and is built and everything, but still no exe or dll file. How can I get the NUnit Gui to just run the test in that class?

© Stack Overflow or respective owner

Related posts about c#

Related posts about nunit