Title :
Using software architecture for code testing
Author :
Muccini, Henry ; Inverardi, Paola ; Bertolino, Antonia
Author_Institution :
Dipt. di informatica, Universita dell´´Aquila, L´´Aquila, Italy
fDate :
3/1/2004 12:00:00 AM
Abstract :
Our research deals with the use of software architecture (SA) as a reference model for testing the conformance of an implemented system with respect to its architectural specification. We exploit the specification of SA dynamics to identify useful schemes of interactions between system components and to select test classes corresponding to relevant architectural behaviors. The SA dynamics is modeled by labeled transition systems (LTSs). The approach consists of deriving suitable LTS abstractions called ALTSs. ALTSs offer specific views of SA dynamics by concentrating on relevant features and abstracting away from uninteresting ones. Intuitively, deriving an adequate set of test classes entails deriving a set of paths that appropriately cover the ALTS. Next, a relation between these abstract SA tests and more concrete, executable tests needs to be established so that the architectural tests derived can be refined into code-level tests. We use the TRMCS case study to illustrate our hands-on experience. We discuss the insights gained and highlight some issues, problems, and solutions of general interest in architecture-based testing.
Keywords :
conformance testing; formal specification; program testing; software architecture; architectural specification; code testing; labeled transition system; software architecture; software engineering; test classes; test strategies; Application software; Concrete; Connectors; Debugging; Performance evaluation; Software architecture; Software design; Software engineering; Software testing; System testing;
Journal_Title :
Software Engineering, IEEE Transactions on
DOI :
10.1109/TSE.2004.1271170