JT Harness Binary Distribution
Version 4.1.3

March 2008


Table of Contents

Run JT Harness
Changes Since JT Harness, Version 3.2
Changes Since JT Harness, Version 4.1.2
Usage Notes


The JT harness is based on Sun Microsystem'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:

JT harness, Version 4.1.3 is a milestone release.
Users are encouraged to try JT harness, participate in the community, and contribute to further development.

This binary release contains a built version of the JT harness (lib/javatest.jar) and a tutorial that introduces you to the JT harness graphical user interface.


The JT harness binary distribution is laid out as follows:

Contains the licenses and Sun Microsystems copyrights that apply to this open source product.
Contains the JT harness binary javatest.jar, the JUnit binary jt-junit.jar, and support libraries.
Contains documentation that accompanies the JT harness product.
Contains the JT harness tutorial (tutorial.html)


The JT harness tutorial includes an HTML tutorial that uses an example API and testsuite to introduce you to the JT harness graphical user interface. Follow these steps to run the tutorial:
  1. Make examples/tutorial your current directory
  2. Open tutorial.html in your web browser and follow the step-by-step directions


The JT harness requires the technologies listed in the following table.
Technology Where to Get It Notes
JDK™ version 1.5 or later

Run JT Harness

Run the JT harness using the following command:

% java -jar javatest.jar

Note: Typically, a user executes JT harness in the context of a test suite. Read the tutorial documentation for instructions about how to execute JT harness with the tutorial example test suite.

Changes Since JT Harness, Version 3.2

The JT harness, Version 4.1.1 release provided basic changes in the following areas:

Changes Since JT Harness, Version 4.1.2

This JT harness release provides new features, bug fixes and basic changes in the following areas:

Usage Notes

Run JT Harness with Java Platform, Standard Edition (Java SE) 5.0 or later.

Online Help Search Highlighting

The highlighting of search terms in the online help search results is sometimes incorrectly offset due to changes in Java SE after version 5.0_02.

Printing Pages from the Online Help and Test Reports

Because of the method the Java SE platform uses to render fonts, when you print a document from the JT harness user interface, the fonts in the printed documents are larger than they are when rendered on the screen.

Serial Communications on the Microsoft Windows Platorm

The Java Communications API used for serial communications does not currently support the Windows platform. Please see the Java Communications API web site for more information.

Changing Status Colors in the GUI

The JT harness allows the user to specify the status colors used in the GUI. See the online help for detailed information about changing the default status colors.

Agent Monitor Tool

The Agent Monitor tool may not apply to all test suites, even if the test suite uses an agent. See your test suite documentation for detailed information about the agent that it uses and its use of the Agent Monitor tool.

Copyright © 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. The JT Harness project is released under the GNU General Public License Version 2 (GPLv2)