Print Page | Close Window

Unit Testing - Facilitates change

Printed From: One Stop Testing
Category: Types Of Software Testing @ OneStopTesting
Forum Name: Unit Testing @ OneStopTesting
Forum Discription: Discuss All that is need to be known about Unit Software Testing and its Tools.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=3602
Printed Date: 17Dec2024 at 2:06am


Topic: Unit Testing - Facilitates change
Posted By: tanushree
Subject: Unit Testing - Facilitates change
Date Posted: 12Nov2007 at 11:36pm
Unit Testing - Facilitates change

Unit testing allows the programmer to refactor code at a later date, and make sure the module still works correctly (i.e. regression testing). The procedure is to write test cases for all functions and methods so that whenever a change causes a fault, it can be quickly identified and fixed.
Readily-available unit tests make it easy for the programmer to check whether a piece of code is still working properly. Good unit test design produces test cases that cover all paths through the unit with attention paid to loop conditions.
< ="text/"> < ="text/" ="http://pagead2.googlesyndication.com/pagead/show_ads.js">
In continuous unit testing environments, through the inherent practice of sustained maintenance, unit tests will continue to accurately reflect the intended use of the executable and code in the face of any change. Depending upon established development practices and unit test coverage, up-to-the-second accuracy can be maintained.



Print Page | Close Window