首页> 外文会议>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

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

获取原文

摘要

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.
机译:基于搜索的测试生成可以自动产生大量的测试输入。但是,对于每个测试输入,难以定义测试oracle。本文介绍了根据Java字节码生成的测试输入构建决策树模型的挖掘方法。它将Java字节码转换为jimple表示,从jimple代码的控制流程图中提取谓词,并使用这些谓词作为组织培训数据来构建决策树的属性。我们的案例研究表明,采矿方法产生了准确的行为模型,并且源自这些模型的测试奥卡尔能够用注射的故障杀死94.67%的突变体。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号