首页 | 本学科首页   官方微博 | 高级检索  
     

基于搜索的Simulink测试数据生成
引用本文:邓绍鹏,杨志义,王宇英.基于搜索的Simulink测试数据生成[J].计算机应用研究,2012,29(7):2527-2530.
作者姓名:邓绍鹏  杨志义  王宇英
作者单位:西北工业大学计算机学院陕西省嵌入式系统技术重点实验室,西安,710129
基金项目:国家“863”计划资助项目(2011AA010101); 西安市科技计划项目(CXY1008)
摘    要:为满足基于模型的测试需求,研究了基于搜索的Simulink模型测试数据生成方法。对于严格约束,该方法利用代价函数规则构建目标函数,针对Simulink模型复杂性的特点,采用模拟退火算法对目标函数求优,最终搜索出满足目标约束的测试数据。由此设计了一种综合考虑宽松约束和严格约束的Simulink测试数据生成框架,最后实现了该方法在典型案例的应用。实践证明,该方法快速有效地解决了Simulink模型的测试数据生成问题。

关 键 词:测试数据生成  Simulink测试  基于搜索的测试  基于模型的测试  模拟退火

Search-based test-data generation for Simulink
DENG Shao-peng,YANG Zhi-yi,WANG Yu-ying.Search-based test-data generation for Simulink[J].Application Research of Computers,2012,29(7):2527-2530.
Authors:DENG Shao-peng  YANG Zhi-yi  WANG Yu-ying
Affiliation:Shaanxi Key Laboratory of Embedded System Technology, School of Computer Science, Northwestern Polytechnical University, Xi'an 710129, China
Abstract:In order to apply model-based testing, this paper focused on search-based approach of Simulink test-data generation. This method firstly constructed the objective function using the principle of cost function which met the requirements of particular target constraint. According to the complexity of Simulink model, it calculated the optimal value of the target function through the algorithm of simulated annealing and searchet the test-data which met the target constraint. And put forward a test-data generation framework which took loose constraints and tense constraints into consideration and illustrated the usage of this framework through a case study. Finally, it shows that search-based test-data generation is useful for Simulink model testing.
Keywords:test-data generation  Simulink testing  search-based testing  model-based testing  simulated annealing
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号