首页> 外文会议>International Conference on Software Engineering Advances >Automatic Unit Test Generation and Execution for JavaScript Program through Symbolic Execution
【24h】

Automatic Unit Test Generation and Execution for JavaScript Program through Symbolic Execution

机译:通过符号执行,自动单元测试和JavaScript程序执行

获取原文

摘要

JavaScript is expected to be a programming language of even wider use, considering demands for more interactive web/mobile applications. While reliability of JavaScript code will be of more importance, testing techniques for the language remain insufficient compared to other languages. We propose a technique to automatically generate high-coverage unit tests for JavaScript code. The technique makes use of symbolic execution engine for JavaScript code, and stub/driver generation engine which automatically generate stub for code of uninterest. Our methodology allows for fully automatic generation of input data for unit testing of JavaScript code with high coverage, which ensures quality of target code with reduced effort.
机译:javascript预计将是一种更广泛使用的编程语言,考虑到更加互动的Web /移动应用程序的要求。虽然JavaScript代码的可靠性将更加重要,但与其他语言相比,语言的测试技术仍然不足。我们提出了一种技术来自动为JavaScript代码生成高覆盖单元测试。该技术利用JavaScript代码的符号执行引擎,以及自动生成存根的存根/驱动程序生成引擎,以用于不娱乐代码。我们的方法允许全自动生成具有高覆盖率的JavaScript代码单元测试的输入数据,从而确保了减少努力的目标代码的质量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号