Back to Search Start Over

CHOC'LATE

Authors :
T. H. Tse
Tsong Yueh Chen
Sau-Fun Tang
Pak-Lok Poon
Source :
Communications of the ACM. 53:113-118
Publication Year :
2010
Publisher :
Association for Computing Machinery (ACM), 2010.

Abstract

In spite of its importance in software reliability, testing is labor intensive and expensive. It has been found that software testing without a good strategy may not be more effective than testing the system with random data. Obviously, the effectiveness of testing relies heavily on how well the test suite --- the set of test cases actually used --- is generated. This is because the comprehensiveness of the test suite will affect the scope of testing and, hence, the chance of revealing software faults. There are two main approaches to generating test suites: specification-based and code-based. The former generates a test suite from information derived from the specification, without requiring the knowledge of the internal structure of the program. The latter approach, on the other hand, generates a test suite based on the source code of the program. Neither of these approaches is sufficient; they are complementary to one another. In software development, the requirements have to be established before implementation, and the specification should exist prior to coding. In this respect, the specification-based approach to test suite generation is particularly useful because test cases can be generated before coding has been completed. This facilitates software development phases to be performed in parallel, thus allowing time for preparing more thorough test plans and yet shortening the length of the whole process.

Details

ISSN :
15577317 and 00010782
Volume :
53
Database :
OpenAIRE
Journal :
Communications of the ACM
Accession number :
edsair.doi...........30c23b7f1af04603d8a495ffc57af88b
Full Text :
https://doi.org/10.1145/1721654.1721687