Title :
A Coupling-Based Approach for Class Integration and Test Order
Author :
Hao Liu ; Jianxun Chen
Author_Institution :
Sch. of Comput. Sci. & Technol., Wuhan Univ. of Sci. & Technol., Wuhan, China
Abstract :
Software testing is one of the most important techniques used to assure the quality of software service. An intricate issue in software testing is the determination of test orders for the integration test of classes, known as the class integration and test order (CITO) problem. The determination of such order has an influence on the cost of created stubs for classes, which is an error-prone and costly process. To minimize the cost of stubbing, this paper describes a coupling measure technique to estimate the complexity of each test stub, and presents a graph-based heuristic algorithm of removing node with the highest weights to break cycles for minimizing overall complexity of stubbing. Also, an adjacency matrix and depth-first search for finding all the paths is presented. Simulation experimental results show that the overall test stub complexity decreased which greatly improves test efficiency and reduces the test cost to some extent compared with others.
Keywords :
computational complexity; cost reduction; integrated software; matrix algebra; minimisation; network theory (graphs); program testing; quality of service; tree searching; adjacency matrix; class integration; complexity estimation; cost minimisation; coupling measure technique; coupling-based approach; depth first search; error prone; graph-based heuristic algorithm; software service quality; software testing; stubbing; test order determination; Complexity theory; Couplings; Genetic algorithms; Object oriented modeling; Software; Testing; Weight measurement; coupling measures; integration order; integration testing; software service; stub complexity;
Conference_Titel :
Services Computing Conference (APSCC), 2014 Asia-Pacific
DOI :
10.1109/APSCC.2014.39