loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Technology of Object-Oriented Languages and Systems
Self-Testable Components: From Pragmatic Tests to Design-for-Testability Methodology
Nancy, France
June 07-June 10
ISBN: 0-7695-0275-X
Yves Le Traon, Universitaire de Beaulieu
Daniel Deveaux, Universit? de Bretagne
Jean-Marc Jézéquel, Universitaire de Beaulieu and Universit? de Bretagne
Testing is a key aspect of software development, because of its cost and impact on final product reliability. Classical views on testing and their associated testing models, based on the waterfall model, are not well-suited to an OO development process. The standardization of semi-formal modeling methods, such as UML, reveals this trend: testing can no longer be separated from specification/design/code stages. A test approach integrated with the OO process must be defined with an associated testing philosophy.The approach presented in this paper aims at providing a consistent framework for building trust into components. By measuring the quality of test cases, we seek to build trust in a component passing those test cases. We present a pragmatic approach for linking design and test of classes, seen as basic unit test components. Components are self-testable by enhancing them with embedded test sequences and test oracles. Self-testable components serve as building blocks for performing systematic integration and non-regression testing. The main contribution presented in this paper consists of using component self-tests to systematically exercise main system structural dependencies.This approach has been implemented in the Eiffel, Java, Perl and C++ languages. Since it is simpler, due to the direct support for Design-by-ContractTM in the language, the Eiffel implementation is detailed here.
Index Terms:
reusable components, testing, self-test, design-for-testability, design by contract
Citation:
Yves Le Traon, Daniel Deveaux, Jean-Marc Jézéquel, "Self-Testable Components: From Pragmatic Tests to Design-for-Testability Methodology," tools, pp.96, Technology of Object-Oriented Languages and Systems, 1999
Usage of this product signifies your acceptance of the Terms of Use.