The automatic generation of basis set of path for path testing

被引:7
作者
Zhang, GM [1 ]
Rui, C [1 ]
Li, XW [1 ]
Han, CY [1 ]
机构
[1] Shan Dong Agr Univ, Chinese Acad Sci, Inst Comp Technol, Beijing 100864, Peoples R China
来源
14TH ASIAN TEST SYMPOSIUM, PROCEEDINGS | 2005年
关键词
D O I
10.1109/ATS.2005.106
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Basis set of path is consisted of some of the program's paths. The automatic generation method of basis set of path is discussed in this paper. It is built by searching the control flow graph of a program by depth-first searching method. In order to avoiding that the algorithm will never stop and reducing the searching procedure, the sub-path from the multi-in-degree nodes to the end node of a program and the sub-path that contains a loop is recorded during the construction of a basis path. Some new basis paths can be constructed by merging these two kinds of sub-paths.
引用
收藏
页码:46 / 49
页数:4
相关论文
共 7 条
[1]  
BEITER B, 1990, SOFTWARE SYSTEM TEST
[2]   AUTOMATIC-GENERATION OF PATH COVERS BASED ON THE CONTROL FLOW-ANALYSIS OF COMPUTER-PROGRAMS [J].
BERTOLINO, A ;
MARRE, M .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (12) :885-899
[3]  
BINT JR, 2004, RENATE SITE OPTIMIZI, P106
[4]   AN APPLICABLE FAMILY OF DATA FLOW TESTING CRITERIA [J].
FRANKL, PG ;
WEYUKER, EJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1988, 14 (10) :1483-1498
[5]  
*I EL EL ENG INC, 1991, GLOSS SOFTW ENG TERM
[6]  
POOLE J, 2004, METHOD DETERMINE BAS
[7]   Software unit test coverage and adequacy [J].
Zhu, H ;
Hall, PAV ;
May, JHR .
ACM COMPUTING SURVEYS, 1997, 29 (04) :366-427