The JT harness is based on Oracle's JavaTest
harness. The JT harness is a general purpose, fully-featured,
flexible, and configurable test harness very well suited for most
types of unit testing. Originally developed as a test harness to run
TCK test suites, it has since evolved into a general purpose test
platform.
The JT harness:
Is designed to configure, sequence, and run
test suites that consist of many (100,000 or more) discrete,
independent
tests. It is especially good at testing APIs and compilers.
Can be used to run tests on all of the Java platforms, from
the Java Card platform, to the Java Platform, Enterprise
Edition ("Java EE").
Enables you to create test suites that are self-contained
products that customers can easily configure and run.
JT harness technology is being opened in order to develop a community
that will improve it, further its development, and use it to develop
test suites. We encourage you to browse, download, contribute, and
get involved.
News and Announcements
JTHarness 4.4 Feature Release (June 24, 2011)
The JT harness 4.3 release is a feature release. It fixes bugs and it
contains the following notable changes:
Known failures lists - The known failures list (KFL) allows you to
specify one or more files that contain the names of tests that are known to
result in a Failed status when executed. When you supply this list of tests
to the harness, it can generate an HTML report that includes a section
that can help you identify tests that report an unexpected result.
Case-sensitive exclude lists - Historically the matching of test names
in an exclude list is case-insensitive, although case is preserved by the
harness internally. Matching can now be case sensitive if the
javatest.caseSensitiveJtx system property is set to "true".
JT harness 4.4 is compatible with JT harness 4.3. For more information,
see the release notes on the download page.
The JTHarness project moved to Kenai (January 27, 2011)
JTHarness 4.3 Feature Release (December 28, 2010)
The JT harness 4.3 release is a feature release. It fixes bugs and it
contains the following notable changes:
MDI and SDI window layout styles are no longer
available.The tabbed window layout style is now the only available user
interface.
GUI colors are now partially configurable in the
Preferences dialog. Other settings are still available via command line.
During start-up, more information is provided to show progress.
Saving of previous desktop is now disabled by default
(was enabled previous to this release).
Usability improved in the main test tree. Can select and
right-click to choose from a context menu.
JT harness 4.3 is compatible with JT harness 4.2. For more information,
see the release notes on the download page.
Classpath Exception Added to License (November 6, 2007)
In response to requests from the community, the JT harness project has
added the classpath exception to its GPL2 license. The addition of
the classpath exception allows a greater opportunity for community
members to produce and distribute products based on the software in
this project. The classpath exception allows members to link the
software in these projects to an independent application to produce an
executable, regardless of the license terms of the independent
application, and to copy and distribute the resulting executable under
terms of their choice, provided that they also meet, for each linked
independent application, the terms and conditions of the license of
that application. The produced executable would not be subject to the
GPL requirement that it be offered to the public under the GPL.
The ME Framework is an open source set of JT harness
plugins that supports the Java
ME platform. Test suite architects use the JT harness and the ME
Framework to construct test suites for Java ME technologies.
The jtreg test harness is used by the JDK test
framework. This
framework is intended primarily for regression tests. It can also be
used for unit tests, functional tests, and even simple product tests.
Jon was the lead developer for the JavaTest harness
through the release
of version 3.1. He currently works on the javac project where as part
of
his responsibilities he works on the the JDK regression test harness
(jtreg).
The jtreg test harness is based on the JavaTest harness.