Well that was my first impression when i was introduced to JUnit a java unit testing tool.At the start when i started playing around with it, it seemed like lot of work writing test classes and test cases but as i got used to it...it became a very important tool in my collection of development tools.Actually it saves you a lot of time when it comes to testing as your testing can be automated instead of running your entire project to figure out whether a portion of your source is doing what it's supposed to do.
And with NUnit I get the same facility in my .NET programming.It's really simple to incorperate NUnit to your development.
1.Add a test project to your solution(preferably a class library lets call
this Test project)
2.Add reference to NUnit.Framework and the projects in your solution that you want to test.
3.Write Test classes in your test project for the classes or functions you
want to test.
4.Invoke the NUnit-GUI and select the Test project.dll you created and click
It's really that simple...So if you want to try out NUnit...go to http://www.nunit.org/ and download the required assemblies.Go through the docs and if you have any trouble post a comment...will try to help out in my spare time.
Post a Comment