Thursday, February 3, 2011

Information about NUNIT

The NUNIT is a testing tool which is used to test your buisness logic.

1. Some of the buisness logic can be Insert, Update, IsProjectExists or IsRequirementExists.

2. The NUNIT contains the app.config for accessing the buissness and the test rules for testing the buisness logic.

3. Some of the tags which is used are

3.1 [TestFixtureSetUp] - To generate all the values needed for testing.

3.2 [SetUp] - Used to initialize the values.

3.4 [TearDown] - Every class should have a CleanUp which is empty.

3.5 [Test] - The function which is going to be tested should have this tag.

3.6 [TestFixtureTearDown] - Used to deallocate the resource.

Note: The items present in 3 is mandatory to run a test of NUNIT.

4. The NUNIT usually executes the function in the alphabetical order.

5. Assert - itz usually class used to test the values. some of them are AreEqual, AreNotEqual etc.

to know more about this you can email me..




No comments:

Post a Comment