Component-based software development technique and its intensive use in the industry has led to the wide research in various aspects of component-based systems (CBSs). Its relating quality assurance techniques had become the key research content. This paper summarizes eight types of dependency between two components in the CBSs. And it discusses about a dependency-based representation called the component dependency graph (CDG) and the component direct dependency graph (CDDG), and then gives the definition of dependency relationship matrix of the component Cm (CmDM) and detailed dependency relationship matrix of the component Cm(CmDDM). Based on these, we further present two approaches to find dependencies relationships between two components: code-based approach and specification-based approach. Finally, we apply an application example implementing integration testing when a component named RegisterGrade is integrated into a CBS, and present a table with test coverage figure to illustrate the validity of our approach
[1]
Bixin Li.
Managing Dependencies in Component-Based Systems Based on Matrix Model
,
2003
.
[2]
Alexander L. Wolf,et al.
Architecture-Level Dependence Analysis for Software Systems ; CU-CS-913-00
,
2000
.
[3]
Jeffrey M. Voas,et al.
Certifying Off-the-Shelf Software Components
,
1998,
Computer.
[4]
Elaine J. Weyuker,et al.
Testing Component-Based Software: A Cautionary Tale
,
1998,
IEEE Softw..
[5]
Alexander L. Wolf,et al.
Architecture-Level Dependence Analysis for Software Systems
,
2001,
Int. J. Softw. Eng. Knowl. Eng..
[6]
Jerry Zeyu Gao,et al.
Testing Component-Based Software - Issues, Challenges, and Solutions
,
2004,
ICCBSS.
[7]
Alessandro Orso,et al.
Component Metadata for Software Engineering Tasks
,
2000,
EDO.