• NUnit

    NUnit is a unit-testing framework for all .NET languages.



    Setting up NUnit
    i Download the latest version of NUnit from http://sourceforge.net/projects/nunit

    ii Install NUnit to D:\citools\nunit.

    To get started with NUnit refer to QuickStart.doc that comes along with the NUnit installation package.
    Using NUnit through NAnt to perform unit testing is explained in Section ‘5.5 Creating NAnt Build scripts for the Sample Applications’.



    Why is unit testing important?
    When an engineer builds a car he first tests that every separate piece works together before putting all the parts together to build a car. If pieces do not work separately, then there is no chance of them working when they are together.

    Unit testing is the process of testing each significant object and its method separately to simplify overall integration testing later on and to minimize the number of bugs. Any development process that implements rigorous unit testing standards leads to higher quality code and less bugs during integration.

    Source of Information : Enterprise Solution Providers, Inc. 2005 – v1.0


0 comments:

Leave a Reply