【24h】

Contract-Driven Testing of JavaScript Code

机译:JavaScript代码的合同驱动测试

获取原文
获取外文期刊封面目录资料

摘要

JSConTest is a tool that enhances JavaScript with simple, type-like contracts and provides a framework for monitoring and guided random testing of programs against these contracts at the same time. Function contracts in JSConTest serve a dual role as specifications of the input/output behavior and as test case generators. Generation of test data for a contract is generally random, but it can be guided by annotations on the contract to achieve higher coverage. Annotations may indicate dependencies among parameters and the result or they may select lightweight program analyses, the results of which influence the choice of test data. A case study substantiates that JSConTest finds type-related errors with high probability.
机译:JSCONTEST是一种增强JavaScript的工具,具有简单,类型的合同,并提供了一个框架,用于同时监控和引导对这些合同的程序随机测试。 JSCONTEST中的功能合同为输入/输出行为的规格和测试用例发生器提供了双重作用。合同的测试数据一般是随机的,但它可以通过合同的注释来指导,以实现更高的覆盖范围。注释可以指示参数之间的依赖性,结果或它们可以选择轻量级程序分析,其结果影响测试数据的选择。案例研究实质上认为JSContest找到了具有高概率的类型相关的错误。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号