【24h】

A State Coverage Tool for JUnit

机译:JUnit的状态覆盖工具

获取原文
获取原文并翻译 | 示例

摘要

We present a JUnit test runner that informs users of missing behavior checks in their tests. The tool tracks variable updates and definitions over the course of a test execution and determines which variables influence which assertions via dynamic taint analysis. The program statements that set outputs which do not influence the outcome of any test assertions are reported as state coverage inadequacies. With traditional code coverage tools, users can ensure that tests execute all program statements; with this tool, they can additionally ensure that program output is checked, in one way or another, by a test.
机译:我们提供了一个JUnit测试运行程序,它可以通知用户测试中缺少行为检查。该工具在测试执行过程中跟踪变量更新和定义,并通过动态污点分析确定哪些变量影响哪些断言。设置不影响任何测试断言结果的输出的程序语句被报告为状态覆盖率不足。使用传统的代码覆盖工具,用户可以确保测试执行所有程序语句。使用此工具,他们还可以确保通过测试以某种方式检查程序输出。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号