An automatic approach of domain test data generation

被引:10
作者
Jeng, BC [1 ]
Forgács, I
机构
[1] Natl Sun Yat Sen Univ, Dept Informat Management, Kaohsiung 80424, Taiwan
[2] Hungarian Acad Sci, Inst Comp & Automat, H-1051 Budapest, Hungary
关键词
D O I
10.1016/S0164-1212(99)00071-0
中图分类号
TP31 [计算机软件];
学科分类号
081202 [计算机软件与理论]; 0835 [软件工程];
摘要
It is usually observed in software testing that input data near the boundary of a domain partition are more sensitive to program faults and should be carefully checked. A formalization of this intuitive observation is domain testing. However, as an implementable testing technique, it has some difficulties. One of which:is related to the test data generation. Since domain testing requires that the ON and OFF points be exactly on or near the boundary of a path domain, they can hardly be given manually. But how to automatically generate these test points efficiently is unclear. Traditionally there exist two different ideas. One is to use a static approach that computes the ON and OFF points by a series of algebraic operations. The other is to use a dynamic "search" method that determines an ON point in a "trial-and-error" manner. Each has its advantages and weaknesses. In this paper, we present a combined approach that takes the advantages of both ideas, i.e., it has both algebraic manipulations and a dynamic "search" process in a mixed way. It is shown that this approach is more efficient than others. (C) 1999 Elsevier Science Inc. All rights reserved.
引用
收藏
页码:97 / 112
页数:16
相关论文
共 26 条
[1]
Agrawal H., 1993, Proceedings. Conference on Software Maintenance 1993. CSM-93 (Cat. No.93CH3360-5), P348, DOI 10.1109/ICSM.1993.366927
[2]
[Anonymous], INTRO MATH PROGRAMMI
[3]
BERTSEKAS DP, 1995, NONLINEAR PROGRAMMIN, P203
[4]
Clarke L. A., 1976, IEEE Transactions on Software Engineering, VSE-2, P215, DOI 10.1109/TSE.1976.233817
[5]
A CLOSE LOOK AT DOMAIN TESTING [J].
CLARKE, LA ;
HASSELL, J ;
RICHARDSON, DJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1982, 8 (04) :380-390
[6]
CONVERSE AO, 1970, OPTIMIZATION
[7]
Elshoff J. L., 1976, IEEE Transactions on Software Engineering, VSE-2, P113, DOI 10.1109/TSE.1976.233538
[8]
Forgács I, 1997, LECT NOTES COMPUT SC, V1301, P378, DOI 10.1145/267896.267922
[9]
ADTEST: A test data generation suite for Ada software systems [J].
Gallagher, MJ ;
Narasimhan, VL .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1997, 23 (08) :473-484
[10]
HOOKE R, 1961, J ACM, V8, P212, DOI 10.1145/321062.321069