Using a model-based test generator to test for standard conformance

被引:51
作者
Farchi, E [1 ]
Hartman, A [1 ]
Pinter, SS [1 ]
机构
[1] IBM Corp, Div Res, Haifa Res Lab, MATAM, IL-31905 Haifa, Israel
关键词
D O I
10.1147/sj.411.0089
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper we describe two experiments in the verification of software standard conformance. In our experiments, we use a model-based test generator to create a test suite for parts of the POSIX(TM) standard and another test suite for the specification of Java(TM) exception handling. We demonstrate that models derived from specifications produce better test suites than the suites specified by standards. In particular, our test suites achieved higher levels of code coverage with complete test requirements coverage. Moreover, the test suite for the Java study found code defects that were not exposed by other benchmark test suites. The effort involved in producing these models and test suites was comparable to the effort involved in developing a test suite by more conventional methods. We avoid the state space explosion problem by modeling only the external behavior of a specific feature of the standard, without modeling the details of any particular implementation.
引用
收藏
页码:89 / 110
页数:22
相关论文
共 51 条
[1]  
AGESEN O, 1998, PROGRAMMING LANGUAGE, P269
[2]  
AGESEN O, 1997, OOPSLA 97 WORKSH GAR
[3]  
AHARON A, Patent No. 5724504
[4]   The Jalapeno virtual machine [J].
Alpern, B ;
Attanasio, CR ;
Barton, JJ ;
Burke, MG ;
Cheng, P ;
Choi, JD ;
Cocchi, A ;
Fink, SJ ;
Grove, D ;
Hind, M ;
Hummel, SF ;
Lieber, D ;
Litvinov, V ;
Mergen, MF ;
Ngo, T ;
Russell, JR ;
Sarkar, V ;
Serrano, MJ ;
Shepherd, JC ;
Smith, SE ;
Sreedhar, VC ;
Srinivasan, H ;
Whaley, J .
IBM SYSTEMS JOURNAL, 2000, 39 (01) :211-238
[5]  
[Anonymous], CRAFT SOFTWARE TESTI
[6]  
APFELBAUM L, 1997, P 10 INT SOFTW QUAL
[7]  
BARABASH K, 2001, 1 JAV VIRT MACH RES
[8]  
BERTOLINO A, 2000, 4 INT SOFTW QUAL WEE
[9]  
BOOCH G, 1994, OBJECT ORIENTED ANAL
[10]  
Callahan J, 1996, P 1996 SPIN WORKSH, V353