Model-based test generation using extended symbolic grammars

被引:0
作者
Hai-Feng Guo
Mahadevan Subramaniam
机构
[1] University of Nebraska at Omaha,Department of Computer Science
来源
International Journal on Software Tools for Technology Transfer | 2014年 / 16卷
关键词
Model-based test generation; Symbolic grammar; Live sequence chart;
D O I
暂无
中图分类号
学科分类号
摘要
A novel, model-based test case generation approach for validating reactive systems, especially those supporting richly structured data inputs and/or interactions, is presented. Given an executable system model and an extended symbolic grammar specifying plausible system inputs, the approach performs a model-based simulation to (i) ensure the consistency of the model with respect to the specified inputs, and (ii) generate corresponding test cases for validating the system. The model-based simulation produces a state transition diagram (STD) automatically justifying the model runtime behaviors within the test case coverage. The STD can further be transformed to produce an evolved symbolic grammar, which can then be used to incrementally generate a refined set of test cases. As a case study, we present a live sequence chart (LSC) model-based test generator, named LCT in short, for LSC simulation and consistency testing. The evolved symbolic grammar produced by the simulator can either be used to generate practical test cases for software testing, or be further refined by applying our model-based test generation approach again with additional test coverage criteria. We further show that LSCs can also be used to specify and test certain temporal system properties during the model simulation. Their satisfaction, reflected in the STD, can either be served as a directive for selective test generation, or a basis for further temporal property model checking.
引用
收藏
页码:437 / 455
页数:18
相关论文
共 34 条
[1]  
Bernot G(1991)Software testing based on formal specifications: a theory and a tool Softw. Eng. J. 6 387-405
[2]  
Gaudel M(2005)Introducing a reasonably complete and coherent approach for model-based testing Electron. Notes Theor. Comput. Sci. 116 85-97
[3]  
Marre B(2005)Live sequence charts applied to hardware requirements specification and verification: a vci bus interface model Softw. Tools Technol. Transf. 7 250-341
[4]  
Bertolino A(2012)Sage: whitebox fuzzing for security testing Commun. ACM 55 40-44
[5]  
Marchetti E(2011)A framework for virtual interactive construction education (vice) Autom. Constr. 20 76-87
[6]  
Muccini H(2002)Synthesizing state-based object systems from lsc specifications Int. J. Found. Comput. Sci. 13 5-51
[7]  
Bunker A(1976)Symbolic execution and program testing Commun. ACM 19 385-394
[8]  
Gopalakrishnan G(2004)Controlling test case explosion in test generation from b formal models Softw. Test. Verif. Reliab. (STVR) 14 81-103
[9]  
Slind K(2003)Generating test data from state based specifications J. Softw. Test. Verif. Reliab. 13 25-53
[10]  
Godefroid P(1997)A safe, efficient regression test selection technique ACM Trans. Softw. Eng. Methodol. 6 173-210