A TOOL TO AUTOMATICALLY MAP IMPLEMENTATION-BASED TESTING TECHNIQUES TO CLASSES
Autor: | Peter Clarke, Brian A. Malloy, Djuradj Babich, Junhua Ding |
---|---|
Rok vydání: | 2006 |
Předmět: |
Computer Networks and Communications
Programming language Computer science White-box testing Code coverage Software performance testing Manual testing computer.software_genre Computer Graphics and Computer-Aided Design Keyword-driven testing Artificial Intelligence Software system Test Management Approach computer Software Testability |
Zdroj: | International Journal of Software Engineering and Knowledge Engineering. 16:585-614 |
ISSN: | 1793-6403 0218-1940 |
DOI: | 10.1142/s0218194006002884 |
Popis: | The object-oriented (OO) paradigm provides several benefits during analysis and design of large-scale software systems, but scores lower in terms of testability. The low testability score for OO software is due mainly to the composition of OO systems exhibiting the characteristics of abstraction, encapsulation, genericity, inheritance, polymorphism, concurrency and exception handling. To address the difficulty of testing the features of a class, a plethora of implementation-based testing techniques (IBTTs) have been developed. However, no one IBTT has emerged as the preferred technique to test the implementation of a class. In this paper we present a technique that automatically identify those IBTTs that are most suitable for testing a class based on the characteristics of that class. Our approach uses a taxonomy of OO classes that is used to succinctly abstract the characteristics of a class under test (CUT). We have implemented a tool that automates the process of mapping IBTTs to a class. In addition to identifying the IBTTs that would be best suited for testing a class, our tool provides feedback to the tester facilitating the identification of the characteristics of the class that are not suitably tested by any of the IBTTs in the list. We provide results of a study supporting the notion that using more than on IBTT during testing improves test coverage of a CUT. |
Databáze: | OpenAIRE |
Externí odkaz: |