首页> 外国专利> DEVICE FOR AUTOMATICALLY GENERATING TEST CASES FOR EMBEDDED SOFTWARE AND METHOD THEREOF

DEVICE FOR AUTOMATICALLY GENERATING TEST CASES FOR EMBEDDED SOFTWARE AND METHOD THEREOF

机译:用于嵌入式软件的自动生成测试案例的装置及其方法

摘要

Disclosed in the present invention are a device for automatically generating test cases for embedded software and a method thereof, which belong to the technical field of software testing. The device comprises a symbolic execution kernel module, a path selection module, a solver, a debugger, an actual execution kernel module and a debugging agent module. Tested software and test cases are uploaded to an embedded system from a host system through the debugger and debugging agents. The actual execution kernel module starts the tested software. Through the debugger, the symbolic execution kernel module obtains the running information of the tested software. When the tested software operates a symbolic source, the symbolic execution kernel module marks the symbolic source, tracks symbolic propagation, generates path conditions, sends the path conditions to the path selection module and then sends the modified path conditions to the solver. If there is a solution, the corresponding test cases are generated. The present invention enables automatic generation of test cases for embedded software, and can process commercial software without the source codes of the tested software.
机译:本发明公开了一种自动为嵌入式软件生成测试用例的装置及其方法,属于软件测试技术领域。该设备包括符号执行内核模块,路径选择模块,求解器,调试器,实际执行内核模块和调试代理模块。经过测试的软件和测试用例通过调试器和调试代理从主机系统上载到嵌入式系统。实际执行内核模块将启动经过测试的软件。符号执行内核模块通过调试器获得被测软件的运行信息。当测试的软件操作符号源时,符号执行内核模块会标记符号源,跟踪符号传播,生成路径条件,将路径条件发送到路径选择模块,然后将修改后的路径条件发送到求解器。如果有解决方案,则会生成相应的测试用例。本发明使得能够为嵌入式软件自动生成测试用例,并且能够在没有被测试软件的源代码的情况下处理商业软件。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号