


|
 |
One of the three required pieces for each JSR is the Technology Compatibility Kit (TCK). A TCK is a suite of tests, tools and documentation that determines whether or not a product complies with a particular Java technology specification. A TCK must be included in a final Java technology release under the direction of its Expert Group.
Java Compatibility Test Tools (Java CTT) is a Test Development Kit (TDK) that can be used to design TCKs. Using the Java CTT simplifies compatibility test development and makes developing and running tests more efficient, especially when multiple companies are contributing tests to a TCK.
For more information on developing TCKs, refer to the TCK Project Planning and Development Guide in the Java CTT package.
For more information on developing a test suite for a TCK, refer to the Java Technology Test Suite Development Guide in the Java CTT package. For assistance in the development of test suites, or to outsource this activity, The Open Group is one of the organizations that can help you. For more details: http://www.opengroup.org/certification/testdev/.
Contents of this page:
Sun provides the Java Compatibility Test Tools (Java CTT) that you can use to help develop your TCK. Using some or all of these tools and information resources may help you reduce TCK development time and improve the quality of your TCK. The tools also help measure TCK coverage and quality and thus help track the progress of TCK development. The manuals provide information necessary to TCK development.
The Java CTT includes the following tools and manuals:
| JavaTest harness |
The JavaTest harness is a general purpose, fully-featured, flexible, and configurable test harness very well suited for most types of unit testing, especially TCK test suites. The JavaTest harness is an excellent tool for configuring, sequencing, and running test suites that consist of large numbers of discrete, independent tests. It is especially good at testing APIs and compilers. Originally developed as a test harness to run the JCK test suite, it has since evolved into a general purpose test platform well suited for use with all TCK test suites.
NOTE: For the most up-to-date version of the JavaTest harness, you can use the open source version of the JavaTest harness (JT harness) at: http://jtharness.dev.java.net
|
| JavaTest Architect's Guide |
Describes how to create test suites that work with the JavaTest harness. This manual includes tutorials that introduce you to the JavaTest GUI and help you build your first test suite. The manual also describes how the JavaTest harness works and contains instructions for creating custom components for your test suite.
|
| Spec Trac tool |
The Spec Trac tool helps test developers identify assertions in their Java technology specifications that must be tested. After tests are created, the Spec Trac Tool then helps the developer report on test case coverage of those assertions, including assertions that are tested or untested, and valid or invalid.
|
| Spec Trac Tool User's Guide |
Describes how to install and use the Spec Trac tool.
|
| Signature Test tool |
The Signature Test tool verifies that a Java technology implementation undergoing compatibility testing and its reference APIs are mutually compatible as defined in Chapter 13, Binary Compatibility, of The Java Language Specification. The tool automates this verification process with a signature test algorithm that compares the API under test with a reference API.
NOTE: For the most up-to-date version of the Signature Test tool, you can use the open source version of the Signature Test tool (SigTest tool) at: http://sigtest.dev.java.net
|
| Signature Test Tool User's Guide |
Describes how to install and uset the Signature Test tool.
|
| TCK Project Planning and Development Guide |
Provides an overview and starting point for an Expert Group responsible for developing a Technology Compatibility Kit (TCK) under the Java Community Process program. It is a high-level planning guide for project managers.
|
Java Technology Test Suite Development Guide (Java Tech TSDG) |
Describes how to design and write tests for any TCK. It also provides "how-to" instructions describing how to build your TCK and write the tests that become your TCK's test suite. It includes examples of testable and non-testable assertions and the applicable test code.
|
| Java Technology Compatibility Kit User's Guide Template |
Provides an outline and template that can be used as the basis of creating a user's guide for a TCK. The template can be edited to provide the basis of the user manual that tells your customers how to use the TCK you are developing. The template is available in Adobe FrameMaker, Adobe Acrobat, and ASCII plain-text formats.
|
| Sample TCK |
The Sample TCK is a collection of tests that demonstrate TCK test development techniques, and illustrate particular test development issues. These tests can be used by test developers as models and examples of how to write their own tests.
The Sample TCK is a complete TCK that complements the Java Technology Test Suite Development Guide (Java Tech TSDG), Spec Trac tool, and Signature Test tool. It is run using the JavaTest harness and includes a Java specification for a Sample API and a reference implementation for the API.
|
These tools and manuals are available at no cost to members of the JCP who serve on Expert Groups defining new APIs for Java technology specifications.
Open source versions of the JavaTest harness and Signature Test tool are available to non-JCP members at the URLs listed above.
To download the Java Compatibility Test Tools, you must be a JCP member. You can use the Member access info (the user-id/password combination associated with your Membership that you use to access Community Update pages, not the Expert Group page login specific to you as an individual) to download the Java CTT from the following site:
Note: If you have questions about downloading the software, please e-mail pmo@jcp.org.
|