unit testing
Home > Software Quality Glossary > Definition - unit testing
EMAIL THIS
Glossary - powered by WhatIs.com
 BROWSE ALPHABETICALLY:    A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #    
Search for: in Full Target Search with Google

unit testing

Unit testing is a software development process in which the smallest testable parts of an application, called units, are individually and independently scrutinized for proper operation. Unit testing is often automated but it can also be done manually. This testing mode is a component of Extreme Programming (XP), a pragmatic method of software development that takes a meticulous approach to building a product by means of continual testing and revision.

Unit testing involves only those characteristics that are vital to the performance of the unit under test. This encourages developers to modify the source code without immediate concerns about how such changes might affect the functioning of other units or the program as a whole. Once all of the units in a program have been found to be working in the most efficient and error-free manner possible, larger components of the program can be evaluated by means of integration testing.

Unit testing can be time-consuming and tedious. It demands patience and thoroughness on the part of the development team. Rigorous documentation must be maintained. Unit testing must be done with an awareness that it may not be possible to test a unit for every input scenario that will occur when the program is run in a real-world environment.

Read more about it:
>>  Don Wells outlines the basics of unit testing as a part of Extreme Programming.
>>  Jeff Canna compares unit testing and functional testing.
>>  Charles Miller offers six rules for conducting unit tests.
>>  Michael Feathers defines an alternative set of unit testing rules.

Last updated on: Feb 15, 2007

WHITE PAPERS  
Crutchfield Corporation: Reduced Costs and Improved Problem Resolution Management for Custom Enterprise Applications
BMC Software, Extending Value with Identify Software

Tools and Techniques for Superior Test Management
Hewlett-Packard Company

Improve Test Productivity and Product Quality through Test Management
TechExcel

Don't Just Kick the Tires
Information Security Magazine

>> More White Papers
  WHAT'S NEW
 1. Scrum and requirements gathering
 2. Managing performance in the enterprise
 3. Software testing fundamentals
 4. Debugging and unit testing


About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2006 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts