A rigorous approach towards test case generation

被引:21
作者
Ding, Zuohua [1 ,2 ]
Zhang, Kao [1 ]
Hu, Jueliang [1 ]
机构
[1] Zhejiang Sci Tech Univ, Ctr Math Comp & Software Engn, Hangzhou 310018, Zhejiang, Peoples R China
[2] Univ S Florida, Natl Inst Syst Test & Product, Tampa, FL 33620 USA
关键词
software testing; sequential programs; concurrent programs; condition calculation; SYN-sequence;
D O I
10.1016/j.ins.2008.06.020
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper presents a method to generate test cases for sequential programs and concurrent programs written in a flow based program language. Test cases of sequential programs are generated based on condition calculation, and can be combined together to form SYN-sequences for concurrent program testing. Semantics of the language provides an infrastructure for the test case generation, and thus our method may be considered as a rigorous and systematic approach to the program testing. Compared with some formal testing methods, our method can avoid hitting state explosion problem in the test formation. Besides, the complexity analysis reveals that our method is time saving. Our method has been applied to generate test cases for PPP over ATM, a subsystem of IAD that runs data and voice over DSL. (C) 2008 Elsevier Inc. All rights reserved.
引用
收藏
页码:4057 / 4079
页数:23
相关论文
共 42 条
[1]  
Ammann P. E., 1999, Proceedings 4th IEEE International Symposium on High-Assurance Systems Engineering, P239, DOI 10.1109/HASE.1999.809499
[2]  
[Anonymous], P 6 ACM SIGSOFT INT
[3]  
APT KR, 1983, P WORKSH PROGR LOG P
[4]  
ARTHO C, 2005, THEORETICAL COMPUTER, V336
[5]  
Balaban I. J., 1995, Proceedings of the Eleventh Annual Symposium on Computational Geometry, P211, DOI 10.1145/220279.220302
[6]   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
[7]   How many paths are needed for branch testing? [J].
Bertolino, A ;
Marre, M .
JOURNAL OF SYSTEMS AND SOFTWARE, 1996, 35 (02) :95-106
[8]   FLOW DIAGRAMS TURING MACHINES AND LANGUAGES WITH ONLY 2 FORMATION RULES [J].
BOHM, C ;
JACOPINI, G .
COMMUNICATIONS OF THE ACM, 1966, 9 (05) :366-&
[9]   Adaptive software testing with fixed-memory feedback [J].
Cai, Kai-Yuan ;
Gu, Bo ;
Hu, Hai ;
Li, Yong-Chao .
JOURNAL OF SYSTEMS AND SOFTWARE, 2007, 80 (08) :1328-1348
[10]  
CARVER RH, 1995, INT CON DISTR COMP S, P360, DOI 10.1109/ICDCS.1995.500040