DocumentCode
2363193
Title
Unit testing in practice
Author
Ellims, Michael ; Bridge, James ; Ince, Darrel C.
Author_Institution
Pi Technol., Cambridge, UK
fYear
2004
fDate
2-5 Nov. 2004
Firstpage
3
Lastpage
13
Abstract
Unit testing is a technique that receives a lot of criticism in terms of the amount of time that it is perceived to take and in how much it costs to perform. However it is also the most effective means to test individual software components for boundary value behavior and ensure that all code has been exercise adequately (e.g. statement, branch or MC/DC coverage). In this paper we examine the available data from three safety related software projects undertaken by Pi Technology that have made use of unit testing. Additionally we discuss the different issues that have been found applying the technique at different phases of the development and using different methods to generate those test. In particular we provide an argument that the perceived costs of unit testing may be exaggerated and that the likely benefits in terms of defect detection are actually quite high in relation to those costs.
Keywords
object-oriented programming; program testing; boundary value behavior; software component; software projects; unit testing technique; Bridges; Communication system control; Control systems; Costs; Internal combustion engines; Lab-on-a-chip; Performance evaluation; Software safety; Software testing; System testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Reliability Engineering, 2004. ISSRE 2004. 15th International Symposium on
ISSN
1071-9458
Print_ISBN
0-7695-2215-7
Type
conf
DOI
10.1109/ISSRE.2004.44
Filename
1383101
Link To Document