On testable object-oriented programming

Autor: Margaret Ross, Geoff Staples, Yingxu Wang, Graham J.W. King, Ian Court
Rok vydání: 1997
Předmět:
Zdroj: ACM SIGSOFT Software Engineering Notes. 22:84-90
ISSN: 0163-5948
DOI: 10.1145/263244.263270
Popis: A new philosophy contributing towards the design of testable object-oriented ( OO ) software is introduced in this paper. The testing of conventional OO software focuses on the generation of tests for existing objects and systems; the testable object-oriented programming ( TOOP ) method draws attention to building testabilities into objects and systems during coding or compiling, so that the succeeding processes in test generation and implementation can be simplified. A new method of TOOP is developed to improve the testability of OO software. Software testability at object level and system level is quantitatively modelled. A set of fundamental built-in testable mechanisms oriented to the basic control structures in objects is constructed in order to improve the testability of OO software in terms of test controllability and observability. The most interesting feature obtained by TOOP is that the built-in tests in any objects can be inherited and reused in the same way as that of codes or functions in conventional OO software.
Databáze: OpenAIRE