Incorporation of Test Functionality into Software Components

  • Franck Barbier
  • Nicolas Belloir
  • Jean-Michel Bruel
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2580)


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.


State Machine Test Functionality Software Component Execution Environment Semantic Interoperability 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Heiler, S.: Semantic Interoperability. In: ACM Computing Surveys 27 (1995) 271–273CrossRefGoogle Scholar
  2. 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. 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. 4.
    Harrold, M.J.: Testing: A Roadmap. In: ICSE-Future of SE Track (2000) 61–72Google Scholar
  5. 5.
    Wang, Y., King, G., Patel, D., Court, I., Staples, G., Ross, M., and Patel, S.: On Built-in Test and Reuse in Object-Oriented Programming. In: ACM Software Engineering Notes 23 (1998) 60–64CrossRefGoogle Scholar
  6. 6.
    Jézéquel, J.M., Deveaux, D., and Le Traon, Y.: Reliable Objects: Lightweight Testing for OO Languages. In: IEEE Software 18 (2001) 76–83CrossRefGoogle Scholar
  7. 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
  8. 8.
    Harel, D.: Statecharts: a Visual Formalism for Complex Systems. In: Science of Computer Programming 8 (1987) 231–274zbMATHCrossRefMathSciNetGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2003

Authors and Affiliations

  • Franck Barbier
    • 1
  • Nicolas Belloir
    • 1
  • Jean-Michel Bruel
    • 1
  1. 1.LIUPPAUniversité de Pau et des Pays de l’AdourPau cedexFrance

Personalised recommendations