作者
Sarfraz Khurshid, Darko Marinov
发表日期
2004/10
期刊
Automated Software Engineering
卷号
11
页码范围
403-434
出版商
Kluwer Academic Publishers
简介
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 …
引用总数
2003200420052006200720082009201020112012201320142015201620172018201920202021202220232024121111416162021181212191312587126125
学术搜索中的文章