Test reactive systems with Buchi automata: acceptance condition coverage criteria and performance evaluation

被引:3
作者
Zeng, Bolong [1 ]
Tan, Li [1 ]
机构
[1] Washington State Univ, Sch Elect Engn & Comp Sci, Richland, WA 99354 USA
来源
2015 IEEE 16TH INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION | 2015年
关键词
reactive systems; Buchi automaton; model checking; testing;
D O I
10.1109/IRI.2015.64
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Buchi automata have been used to specify and reason linear temporal requirements of reactive systems. A reactive system interacts with its environment constantly, and its executions may be modeled as infinite words. A key question in testing a reactive system is how to make testing relevant to the system's requirement, that is, to focus testing on the required behaviors in terms of infinite words. We propose a specification-based testing technique that tests a reactive system with respect to its requirements in Buchi automaton. At the core of our approach are metrics measuring how well a test suite covers the acceptance condition of a Buchi automaton. Acceptance condition is a key element of Buchi automaton defining infinite words. We propose weak and strong variants of coverage metrics and their related test criteria for applications requiring tests of different strengths. We propose a model-checking-assisted algorithm to automate test case generation for proposed criteria. Besides debugging a system, our proposed approach may be used for revealing problems with system requirements. We propose an algorithm for refining a requirement encoded in Buchi automaton. Finally, we evaluate the performance of the proposed test criteria using cross-coverage comparison. The result indicates that our approach improves the effectiveness of testing with more efficient test cases targeted for system requirements.
引用
收藏
页码:380 / 387
页数:8
相关论文
共 17 条
[1]  
[Anonymous], 1995, IFIP
[2]  
FUJIWARA S, 1991, IEEE T SOFTW ENG, V17
[3]   The model checker SPIN [J].
Holzmann, GJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1997, 23 (05) :279-295
[4]  
Hong H.S., 2002, TACAS 02
[5]  
Jorgensen PaulC., 1995, Software Testing: A Craftsman's Approach, V1st
[6]  
Joseph S., 1998, THESIS
[7]  
Kamel M., 2000, INT J SOFTWARE TOOLS, V2
[8]  
*MATHW INC, 1997, SIM DYN SYST SIM MAT
[9]  
Meinke K, 2011, LECT NOTES COMPUT SC, V6706, P134, DOI 10.1007/978-3-642-21768-5_11
[10]  
Tan L., 2014, INT C INF REUS INT A