On Building Testable Software Components

Component engineering is gaining substantial interest in the software engineering community. A lot of research efforts have been devoted to the analysis and design methods for component-based software. However, only few papers address the testing of software components and component-based software. This paper focuses on how to build testable software components by increasing the testability of software components. The paper introduces the concept of testable bean, and proposes a new way to construct a testable bean based on a testable architecture and well-defined built-in interfaces. In addition, the paper also reports our efforts on developing a test bed to achieve automation for test beans.

[1]  Elaine J. Weyuker,et al.  Testing Component-Based Software: A Cautionary Tale , 1998, IEEE Softw..

[2]  Simon Shim,et al.  Monitoring software components and component-based software , 2000, Proceedings 24th Annual International Computer Software and Applications Conference. COMPSAC2000.

[3]  Roy S. Freedman,et al.  Testability of Software Components , 1991, IEEE Trans. Software Eng..

[4]  Yingxu Wang,et al.  A method for built-in tests in component-based software maintenance , 1999, Proceedings of the Third European Conference on Software Maintenance and Reengineering (Cat. No. PR00090).

[5]  Roger S. Pressman,et al.  Software Engineering: A Practitioner's Approach , 1982 .

[6]  David S. Rosenblum Adequate Testing of Component-Based Software , 1997 .

[7]  David A. Carrington,et al.  A Framework for Specification-Based Testing , 1996, IEEE Trans. Software Eng..

[8]  William T. Councill Third-Party Testing and the Quality of Software Components , 1999, IEEE Softw..

[9]  J WeyukerElaine Testing Component-Based Software , 1998 .

[10]  J. Voas,et al.  Software Testability: The New Verification , 1995, IEEE Softw..