Reference articles on history, science, culture and more
Encyclopedia

JavaTest harness

The JavaTest harness (or jtreg) is a regression tests framework specifically designed by Sun Microsystems to test the reference Java platform implementation.

Although jtreg was originally designed to execute Technology Compatibility Kit (TCK) compliance tests, it is not designed to check compliance of a particular Java implementation to the specification, but to test any regressions' suite for the Java platform.

01History

jtreg started in 1997, during JDK 1.2 development. Being developed prior to JUnit existence, jtreg was initially not compatible with JUnit's test syntax, but later versions added a limited compatibility with JUnit.

02Use in OpenJDK

OpenJDK, the open-source implementation of the Java programming language encourages the use of jtreg tests for patch submissions.

Watch videos about JavaTest harnessExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article JavaTest harness, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.