When I am creating a test project in Visual Studio, do I just create a C# console project type, then import Nunit?
Does the GUI then hook into this project somehow?
There seems to be tons of nunit related .dll's, which ones do I need?
NUnit is a unit testing framework for . NET applications. TestLeft provides an NUnit project template for Visual Studio that simplifies creation of NUnit tests that run TestLeft code. You will be able to run such tests by using the NUnit utility or from Visual Studio by using NUnit Test Adapter.
NUnit is a Unit Testing framework that supports all the . NET languages. It was initially ported from JUnit.
Just create a class library (i.e. a DLL). You only need to import nunit.framework.dll.
Yes, the nUnit GUI loads your assembly (which can be a DLL or a .EXE) and finds all the public classes which have been marked with the appropriate attributes.
I'd recommend checking out the TestDriven.Net Visual Studio plugin. It allows you to run your tests right from VS, so there's no need to fire up the NUnit GUI.
http://www.testdriven.net/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With