C / C++ / C#

  1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of Unit Test

By David Bolton, About.com

Definition: This is a method of testing software that is part of the development process. Developers create tests to test each unit (objects or groups of related objects) as it is being written. At any stage, often prior to checking in the code into a VCS, the tests can be run and if any fails then the code has to be amended. As new code is written in the unit, new tests are added. This increases the developer's confidence in their software by catching bugs that might have been missed. Unit testing is easier to implement with new code rather than be added to existing code.

Glossary:

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
Also Known As: Unit testing
Examples: Simple test frameworks such as Nunit and Cppunit simplify the creation and management of unit tests.

Explore C / C++ / C#

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

C / C++ / C#

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Glossary
  5. Unit Test - Definition

©2009 About.com, a part of The New York Times Company.

All rights reserved.