DocumentCode
3117086
Title
On the Coverage of Program Code by Specification-Based Tests
Author
Yu, Y.T. ; Chan, Eric Y K ; Poon, P.-L.
Author_Institution
Dept. of Comput. Sci., City Univ. of Hong Kong, Kowloon Tong, China
fYear
2009
fDate
24-25 Aug. 2009
Firstpage
41
Lastpage
50
Abstract
Generating test cases from the specification can be done early in the software development life cycle. A test suite systematically generated from the software specification can be comprehensive in ensuring the intended functions to be exercised. Such a test suite is also instrumental in facilitating early discovery of software defects. On the other hand, an adequate level of code coverage is required to inspire confidence of the testing and quality assurance process. To examine the effectiveness of a specification-based test suite in covering program code, we conducted an exploratory case study which involved many different versions of programs that implemented the same specification. On the basis of the case study, this paper identifies the types of path in the programs, suggests enhancements to the existing test generation methods, and discusses several issues on how the code coverage can be improved.
Keywords
formal specification; program testing; quality assurance; software quality; program code; quality assurance process; software defect discovery; software development life cycle; software specification; software testing; specification-based tests; Computer science; Fault detection; Finance; Instruments; Life testing; Programming; Quality assurance; Software quality; Software testing; System testing; category-partition method; classification-tree method; code coverage; path coverage; specification-based testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Quality Software, 2009. QSIC '09. 9th International Conference on
Conference_Location
Jeju
ISSN
1550-6002
Print_ISBN
978-1-4244-5912-4
Type
conf
DOI
10.1109/QSIC.2009.14
Filename
5381525
Link To Document