This page contains my notes related to NUnit.
I started first by installing NUnit and the NUnitAddin products.
Due to the fact that I was just getting my feet wet with NUnit I started with the NUnitAddin in the hopes that it would be a more friendly start for me since it was integrated with Visual Studio which NUnit is not.
My first stumbling block was finding anything new in Visual Studio after installing the NUnitAddin. According to this page. NUnitAddin should have added two new project wizard, but I can't seem to find them. I did find the context menu actions to run and debug the tests. This is quite handy since it simplifies the test debugging process very nicely.
My first test were integrated directly into my application being tested. This also required that I add the nunit.framework assembly reference to my project which caused my program to fail on machines on which NUnit was not installed.
My second (and current) attempt was to create a new DLL assembly in which my tests live.
My main application is called Patcher, my test project is called PatcherTest. I have a Visual Studio Solution that contains both of these two projects. My build is actually invoked by Ant.
I can run my tests using the NUnit GUI, NUnit console, or by right clocking on the project and using NUnitAddin to invoke the tests. I personally don't see much value to NUnit GUI. My Ant project invokes the NUnit console application.
I am testing an application, and would like my test assembly to simply reference the compiled application instead of having to add the applications source files files to the test assembly's project. I'm told this is possible, but I can't figure it out just yet.
Last Modified: 06/11/2005 04:40 AM