首页> 外文期刊>Automated software engineering >TestEra: Specification-Based Testing of Java Programs Using SAT
【24h】

TestEra: Specification-Based Testing of Java Programs Using SAT

机译:TestEra:使用SAT的基于规范的Java程序测试

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

摘要

TestEra is a framework for automated specification-based testing of Java programs, TestEra requires as input a Java method (in sourcecode or bytecode), a formal specification of the pre- and post-conditions of that method, and a bound that limits the size of the test cases to be generated. Using the method's pre-condition, TestEra automatically generates all nonisomorphic test inputs up to the given bound. It executes the method on each test input, and uses the method postcondition as an oracle to check the correctness of each output. Specifications are first-order logic formulae. As an enabling technology, TestEra uses the Alloy toolset, which provides an automatic SAT-based tool for analyzing first-order logic formulae. We have used TestEra to check several Java programs including an architecture for dynamic networks, the Alloy-alpha analyzer, a fault-tree analyzer, and methods from the Java Collection Framework.
机译:TestEra是一个用于对Java程序进行基于规范的自动化测试的框架,TestEra要求输入Java方法(源代码或字节码),该方法的前提条件和后条件的形式规范以及限制大小的界限作为输入。生成的测试用例。使用该方法的前提条件,TestEra会自动生成所有给定边界的非同构测试输入。它在每个测试输入上执行该方法,并使用方法后置条件作为预言机来检查每个输出的正确性。规格是一阶逻辑公式。作为一种启用技术,TestEra使用Alloy工具集,该工具集提供了基于SAT的自动工具来分析一阶逻辑公式。我们已经使用TestEra来检查几个Java程序,包括动态网络的体系结构,Alloy-alpha分析器,故障树分析器以及Java Collection Framework中的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号