Abstract
Code reuse has always been an important area for reducing development time. The component-based software development paradigm is becoming increasingly important as a structured way of achieving effective code reuse, moving away from the ad-hoc processes that have tended to be used in the past. However, attention must be given to difficulties associated with testing a system composed of (possibly third party) components whose internal structure is not visible to the system integrator. In general, it cannot be assumed that a component will function as expected when exposed to a specific usage profile in a particular target environment, which will usually differ from that used by the component developer for testing purposes. It is unrealistic to expect non-trivial components to be 100% defect free. A further complication arises when components, possibly of different manufacture, must interact to meet the overall requirements of the software system. To facilitate the construction of robust component-based software systems, it is argued that a software component must provide some form of test service that enables the verification of correct internal functioning in the target environment, and supports the verification of component interactions. This chapter describes an architecture that facilitates such tests, and briefly outlines some of the test types that may be incorporated into the component.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Wang Y, King G, Patel D, Court I, Staples G, Ross M, Patel S, On built-in test and reuse in object-oriented programming, ACM Software Engineering Notes, 23(4), pp60–64.
Arif Ghafoor S, Paul R, Software engineering metrics for COTS-based systems, IEEE Computer, May 2001, pp91–95.
Szyperski C, Component software beyond object-oriented programming, Addison-Wesley, 1998.
Vincent J, King G, Built-in-Test for Run-Time-Testability in Software Components: Testing Architecture, Software Quality Management, British Computer Society, 2002.
Vincent J, King G, Built-in-Test for Run-Time-Testability in Software Components: Product Quality Implications, Software Quality Management, British Computer Society, 2002.
Bacon J, Concurrent systems, operating systems, database and distributed systems: an integrated approach, 2nd edition, Addison-Wesley, 1998.
Liu C, Layland J, Scheduling algorithms for multiprogramming in a hard real-time environment, Journal of the Association for Computing Machinery, 1973.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer Science+Business Media New York
About this chapter
Cite this chapter
Vincent, J., King, G., Lay, P., Kinghorn, J. (2003). Interfaces and Techniques for Runtime Testing of Component-Based Systems. In: Barbier, F. (eds) Business Component-Based Software Engineering. The Springer International Series in Engineering and Computer Science, vol 705. Springer, Boston, MA. https://doi.org/10.1007/978-1-4615-1175-5_5
Download citation
DOI: https://doi.org/10.1007/978-1-4615-1175-5_5
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4613-5429-1
Online ISBN: 978-1-4615-1175-5
eBook Packages: Springer Book Archive