Architecture-centric development is one of the most promising methods for improving software quality, reducing software cost and raising software productivity. Software architecture research not only focuses on the design phase, but also covers every phase of software life cycle. Software architecture has characteristics different from traditional software, conventional testing methods do not apply directly to software architecture. Basis path testing is a very simple and efficient white-box testing method. Traditional methods generate basis path according to the control flow graph, they are not suitable for generating component path when we detect more software architecture errors. This paper presents a new concept - Basis Component Path (BCP) for C2-style architecture, and proposes a method to generate the BCPs. C2-style architecture is represented by components, connectors, and interfaces, and uses an architecture component interaction graph (CIG) to describe interface connection relationship. We also provide an algorithm to generate BCP set. Experiments apply the proposed method in a typical C2-style architecture and the result shows that the proposed method can generate BCP set which contains as many BCPs as possible efficiently, and it meets the requirements of the basis component path testing.
Publié le : 2017-06-12
Classification:  Software Engineering,  Software architecture testing, C2-style architecture, component interaction graph, basis component path generation,  68N30
@article{cai2017_2_386,
     author = {Lijun Lun; College of Computer Science and Information Engineering, Harbin Normal University, Harbin and Shaoting Wang; College of Computer Science and Information Engineering, Harbin Normal University, Harbin and Xin Chi; College of Computer Science and Information Engineering, Harbin Normal University, Harbin and Hui Xu; Library, Heilongjiang University of Chinese Medicine},
     title = {Automatic Generation of Basis Component Path Coverage for Software Architecture Testing},
     journal = {Computing and Informatics},
     volume = {35},
     number = {4},
     year = {2017},
     language = {en},
     url = {http://dml.mathdoc.fr/item/cai2017_2_386}
}
Lijun Lun; College of Computer Science and Information Engineering, Harbin Normal University, Harbin; Shaoting Wang; College of Computer Science and Information Engineering, Harbin Normal University, Harbin; Xin Chi; College of Computer Science and Information Engineering, Harbin Normal University, Harbin; Hui Xu; Library, Heilongjiang University of Chinese Medicine. Automatic Generation of Basis Component Path Coverage for Software Architecture Testing. Computing and Informatics, Tome 35 (2017) no. 4, . http://gdmltest.u-ga.fr/item/cai2017_2_386/