摘要
针对含过程调用EFSM模型测试数据生成中过程调用的不可执行问题,提出了一种能对过程调用进行处理以实现模型的测试数据自动生成方法。该方法将被调子过程描述为一个EFSM模型,将表示主过程及子过程的EFSM模型合并为一个新的模型,合并后的模型符合EFSM模型规范,采用遗传算法对该模型进行测试数据自动生成。实验结果表明,该方法能够较好地解决含过程调用EFSM模型的测试数据自动生成问题。
Normally,procedure call in EFSM models is not executable.For the purpose of handling test data generation for EFSM models which involves procedure call,an approach is proposed to deal with the procedure call.In this approach, the sub-procedure is described as an EFSM model.The EFSM model representing the main procedure and the EFSM model representing the sub-procedure are merged into a new EFSM model.A genetic algorithm is employed to generate test data.The experimental results show that the proposed method is promising and effective in test data generation for EFSM models in which procedure call is embedded.
出处
《计算机工程与应用》
CSCD
北大核心
2011年第32期87-90,共4页
Computer Engineering and Applications
基金
国家自然科学基金No.60903002
No.61073035
中央高校基本科研业务费专项资金资助(No.ZZ1135)~~