Incorporation of Test Functionality into Software Components
COTS components trustworthiness is a key issue to be addressed within the field of component-based software engineering. This problem relies on the duality between development and deployment. COTS components vendors may prove varied properties for their components but purchasers may want to validate these properties in different execution environments. Built-In Test is thus the ability to endow components with extra functionality in order to develop in-situ tests. This paper stresses a Java library that supports Built-In Contract Testing. Complex component behaviors are ruled and observed based on states and reactivity to client requests. A large component consisting in a Programmable Thermostat illustrates the Built-In Contract Testing technology and the offered Java library.
KeywordsState Machine Test Functionality Software Component Execution Environment Semantic Interoperability
Unable to display preview. Download preview PDF.
- 2.Meijler, T.D., and Nierstrasz, O.: Beyond Objects: Components. In: Cooperative Information Systems-Trends and Directions, Academic Press, San Diego, CA (1998) 49–78Google Scholar
- 3.Crnkovic, I., Schmidt, H., Stafford, J., and Wallnau, K.: Anatomy of a Research Project in Predictable Assembly. In: Fifth ICSE Workshop on Component-based Software Engineering (2002)Google Scholar
- 4.Harrold, M.J.: Testing: A Roadmap. In: ICSE-Future of SE Track (2000) 61–72Google Scholar
- 7.Gao, J., Gupta, K., Gupta, S., and Shim, S.: On Building Testable Software Components. In: Proceedings of First International Conference on COTS-Based Software Systems, LNCS Vol. 2255, Orlando, FL, USA, February (2002) 108–121Google Scholar