Title :
Fault detection capabilities of coupling-based OO testing
Author :
Alexander, Roger T. ; Offutt, Jeff ; Bieman, James M.
Author_Institution :
Dept. of Comput. Sci., Colorado State Univ., Fort Collins, CO, USA
Abstract :
Object-oriented programs cause a shift in focus from software units to the way software classes and components are connected. Thus, we are finding that we need less emphasis on unit testing and more on integration testing. The compositional relationships of inheritance and aggregation, especially when combined with polymorphism, introduce new kinds of integration faults, which can be covered using testing criteria that take the effects of inheritance and polymorphism into account. This paper demonstrates, via a set of experiments, the relative effectiveness of several coupling-based OO testing criteria and branch coverage. OO criteria are all more effective at detecting faults due to the use of inheritance and polymorphism than branch coverage.
Keywords :
inheritance; object-oriented programming; program testing; aggregation; branch coverage; coupling-based OO testing; fault detection; inheritance; integration faults; integration testing; object-oriented programs; polymorphism; software components; Computer science; Fault detection; Object oriented programming; Reliability engineering; Software reliability; Testing;
Conference_Titel :
Software Reliability Engineering, 2002. ISSRE 2003. Proceedings. 13th International Symposium on
Print_ISBN :
0-7695-1763-3
DOI :
10.1109/ISSRE.2002.1173253