Published online by Cambridge University Press: 06 September 2009
(The Programmer) personally defines the functional and performance specifications, designs the program, codes it, tests it, and writes its documentation…. They need great talent, ten years experience and considerable systems and applications knowledge, whether in applied mathematics, business data handling, or whatever!
Fred P. BrooksOverview
The objective of Unit Testing is to ensure that reliable program units are produced that meet their requirements. The process is also intended to identify errors in program logic. Unit Testing is conducted by the development team under the supervision of the Development Team Leader. Typically, the software engineer or programmer who coded the unit will design and run a series of tests to verify that the unit meets its requirements. Unit Testing may also be termed component testing.
Each unit should be tested individually and in isolation (although it may be necessary to employ a test harness) by exercising its inputs and observing its outputs or behavior. It may also be possible for the unit to be tested using the facilities available in the development environment (such as stepping through the statements of code using a debugger). Once confidence has been established in the unit, it should then be tested in collaboration with other interoperating units.
Unit Testing is typically a White Box Testing activity, based primarily on the functional and data requirements expressed in the requirements specification for the Application Under Test (AUT), as well as any supplementary material (such as design documentation, user guides, or prototype code).
To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Find out more about the Kindle Personal Document Service.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.
To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.