|
|
|
Sponsored Link •
|
|
Artima SuiteRunner is a free testing toolkit for Java, released under the Open Software License. You can use this tool with JUnit to run existing JUnit TestSuites, or stand-alone, to create unit and conformance tests for Java APIs.
To download a ZIP file containing source, binaries, and examples for Artima SuiteRunner, please click on the following link:
account.srj - Recipe file for the example
accountjunit.srj - Recipe file for the JUnit example (Added in 1.0beta4)
accountscript.srj - Recipe file for script-driven example (Added in 1.0beta6)
example - Directory of Java source and class files for the example
generatedscript.txt - Generated cript for script-driven example (Added in 1.0beta6)
javadoc - Directory containing Javadoc documentation for the API
README.txt - The obligatory README file
righttriangle.srj - Recipe file for the Settings example (Added in 1.0beta7)
script.txt - Hand-written script for script-driven example (Added in 1.0beta6)
suiterunner-[release].jar - Artima SuiteRunner executable JAR file
suiterunner-[release]-src.zip - ZIP file of Artima SuiteRunner source code
wrongtriangle.srj - Recipe file for the Settings example (Added in 1.0beta7)
xmlreporter.srj - Recipe file for the XMLReporter example (Added in 1.0beta5)
To run the example, type the following command in the directory in which you unzipped the distribution ZIP file:
java -jar suiterunner-[release].jar account.srj
Artima SuiteRunner requires Java 1.2 or later.
For more information about the example, please see Getting Started With Artima SuiteRunner.
To learn how to use Artima SuiteRunner to run your existing JUnit test suites, please see Running JUnit Tests with Artima SuiteRunner.
If you have questions, comments, criticisms, or suggestions about Artima SuiteRunner, please post to the SuiteRunner Forum.
You may also wish to read the Artima SuiteRunner Tutorial, an article that shows you how to build conformance and unit tests with Artima SuiteRunner.
In the 1.0beta7 release, class Report has been made Serializable,
tests can now be configured via settings provide in the recipe, on the command line, or
via the Edit Recipe dialog. Two methods have been added to the public interface of Suite,
setUpSuite and tearDownSuite. setUpSuite is called before execute, and tearDownSuite after.
Any settings are passed as key value pairs in a Map in the context parameter of setUpSuite.
In addition
com.artima.examples.settings.ex1.PythagoreanSuite to the examples directory.
righttriangle.srj and wrontriangle.srj to the suiterunner-[release] directory.
testSucceeded to be called after testFailed was called.
Thread getThread() in class Report to String getThreadName(). This breaking change was done to
enable Report to be made Serializable.
Report now implements Serializable.
setUpSuite and tearDownSuite to the public interface of class Suite.
setUpSuite prior to execute, and tearDownSuite after execute, both from the Runner and in
Suite's implementation of executeSubSuites.
-D<key>=<value> arguments.
Suites listed in the recipe via the Map passed to setUpSuite.
The 1.0beta6 release adds a new script-driven example, adds JavaDoc API documentation for the examples, and modifies and clarifies the contract for Suite's implementation of executeTestMethods:
com.artima.examples.scriptdriven.ex1.ScriptDrivenAccountSuite to the examples directory.
com.artima.examples.scriptdriven.ex1.ScriptGenerator to the examples directory.
example/javadoc directory.
tearDownFixture executes if setUpFixture returns normally, even if the test method completes abruptly with an exception.
setUpFixture or tearDownFixture completes abruptly with an exception, but still attempt executing any sub-Suites.
executeTestMethods, so it mentions it invokes setUpFixture and tearDownFixture, and explains its behavior when either of these throws an exception.
The 1.0beta5 release adds a new XMLReporter example and fixes one bug in 1.0beta4:
com.artima.examples.reporter.xml.ex1.XMLReporter to the examples directory.
This release changes two method names in the public API, fixes a few minor bugs, and makes a few cosmetic enhancements over 1.0beta3:
The 1.0beta3 release fixes three bugs in 1.0beta2:
The 1.0beta2 release is the inital public release of Artima SuiteRunner.
|
Sponsored Links
|