首页> 外文会议>IEEE Annual Computer Software and Applications Conference >Mining Test Oracles for Test Inputs Generated from Java Bytecode
【24h】

Mining Test Oracles for Test Inputs Generated from Java Bytecode

机译:挖掘用于从Java字节码生成的测试输入的测试Oracle

获取原文

摘要

Search-based test generation can automatically produce a large volume of test inputs. However, it is difficult to define the test oracle for each of the test inputs. This paper presents a mining approach to building a decision tree model according to the test inputs generated from Java bytecode. It converts Java bytecode into the Jimple representation, extracts predicates from the control flow graph of the Jimple code, and uses these predicates as attributes for organizing training data to build a decision tree. Our case studies show that the mining approach generated accurate behavioral models and that test oracles derived from these models were able to kill 94.67% of the mutants with injected faults.
机译:基于搜索的测试生成可以自动产生大量的测试输入。但是,很难为每个测试输入定义测试预言。本文提出了一种根据Java字节码生成的测试输入来构建决策树模型的挖掘方法。它将Java字节码转换为Jimple表示形式,从Jimple代码的控制流程图中提取谓词,并将这些谓词用作组织训练数据以构建决策树的属性。我们的案例研究表明,挖掘方法生成了准确的行为模型,并且从这些模型派生的测试预言能够杀死注入错误的94.67%的突变体。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号