Improving test suites via operational abstraction

被引:79
作者
Harder, M [1 ]
Mellen, J [1 ]
Ernst, MD [1 ]
机构
[1] MIT, Comp Sci Lab, Cambridge, MA 02139 USA
来源
25TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS | 2003年
关键词
D O I
10.1109/ICSE.2003.1201188
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents the operational difference technique for generating, augmenting, and minimizing test suites. The technique is analogous to structural code coverage techniques, but it operates in the semantic domain of program properties rather than the syntactic domain of program text. The operational difference technique automatically selects test cases; it assumes only the existence of a source of test cases. The technique dynamically generates operational abstractions (which describe observed behavior and are syntactically identical to formal specifications)from test suite executions. Test suites can be generated by adding cases until the operational abstraction stops changing. The resulting test suites are as small, and detect as many faults, as suites with 100% branch coverage, and are better at detecting certain common faults. This paper also presents the area and stacking techniques for comparing test suite generation strategies; these techniques avoid bias due to test suite size.
引用
收藏
页码:60 / 71
页数:12
相关论文
共 40 条
[1]  
Ammann P. E., 2001, INT J RELIABILITY QU, V8, P275, DOI DOI 10.1142/S0218539301000530
[2]  
[Anonymous], 2000, THESIS U WASHINGTON
[3]   AUTOMATIC-GENERATION OF TEST SCRIPTS FROM FORMAL TEST SPECIFICATIONS [J].
BALCER, MJ ;
HASLING, WM ;
OSTRAND, TJ .
PROCEEDINGS OF THE ACM SIGSOFT 89: THIRD SYMPOSIUM ON SOFTWARE TESTING, ANALYSIS, AND VERIFICATION ( TAV 3 ), 1989, 14 :210-218
[4]  
BERNOT G, 1991, IEE SOFTWARE ENG J, V6
[5]  
BURTON S, 1999, AUTOMATED UNIT TESTI
[6]  
CHANG J, 1999, P 7 EUR SOFTW ENG C, P285
[7]  
Dick J., 1993, FME'93: Industrial-Strength Formal Methods. First International Symposium of Formal Methods Europe Proceedings, P268, DOI 10.1007/BFb0024651
[8]  
Donat M. R., 1997, TAPSOFT '97: Theory and Practice of Software Development. 7th International Joint Conference CAAP/FASE. Proceedings, P833, DOI 10.1007/BFb0030644
[9]   AN EVALUATION OF RANDOM TESTING [J].
DURAN, JW ;
NTAFOS, SC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (04) :438-444
[10]  
Ernst M. D., 2000, Proceedings of the 2000 International Conference on Software Engineering. ICSE 2000 the New Millennium, P449, DOI 10.1109/ICSE.2000.870435