DocumentCode :
2090015
Title :
Adding Criteria-Based Tests to Test Driven Development
Author :
Shelton, William ; Li, Nan ; Ammann, Paul ; Offutt, Jeff
Author_Institution :
Software Eng., George Mason Univ., Fairfax, VA, USA
fYear :
2012
fDate :
17-21 April 2012
Firstpage :
878
Lastpage :
886
Abstract :
Test driven development (TDD) is the practice of writing unit tests before writing the source. TDD practitioners typically start with example-based unit tests to verify an understanding of the software´s intended functionality and to drive software design decisions. Hence, the typical role of test cases in TDD leans more towards specifying and documenting expected behavior, and less towards detecting faults. Conversely, traditional criteria-based test coverage ignores functionality in favor of tests that thoroughly exercise the software. This paper examines whether it is possible to combine both approaches. Specifically, can additional criteria based tests improve the quality of TDD test suites without disrupting the TDD development process? This paper presents the results of an observational study that generated additional criteria-based tests as part of a TDD exercise. The criterion was mutation analysis and the additional tests were designed to kill mutants not killed by the TDD tests. The additional unit tests found several software faults and other deficiencies in the software. Subsequent interviews with the programmers indicated that they welcomed the additional tests, and that the additional tests did not inhibit their productivity.
Keywords :
fault diagnosis; object-oriented methods; program testing; software fault tolerance; software quality; TDD development process; TDD practitioners; TDD test; criteria-based test; example-based unit tests; mutation analysis; software design decisions; software fault detection; software intended functionality; software testing; test driven development; Java; Programming; Rhythm; Software; Software testing; Writing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
Conference_Location :
Montreal, QC
Print_ISBN :
978-1-4577-1906-6
Type :
conf
DOI :
10.1109/ICST.2012.191
Filename :
6200203
Link To Document :
بازگشت