Jump to content

JavaTest harness

From Wikipedia, the free encyclopedia
jtreg
Developer(s)Oracle Corporation
Stable release
4.1[1] / March 14, 2012 (2012-03-14)
Written inJava
Operating systemCross-platform
PlatformJava Virtual Machine
LicenseGPL+linking exception
Websiteopenjdk.java.net/jtreg/

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

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.[2]

History

[edit]

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

Use in OpenJDK

[edit]

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

See also

[edit]

References

[edit]
  1. ^ "jtreg 4.1 download". OpenJDK community. Retrieved 2015-12-30.[permanent dead link]
  2. ^ a b c "jtreg FAQ". Oracle Corporation. Retrieved 2011-05-08.
  3. ^ Gibbons, Jonathan (2006-11-13). "wwwww.jtreg: The Who What Where When Why of jtreg". Retrieved 2011-05-08.
  4. ^ Gibbons, Jonathan (2010-05-27). "jtreg 4.1". Retrieved 2011-05-08.
  5. ^ "OpenJDK Legal Documents". Sun Microsystems.
  6. ^ "Regression Test Harness for the OpenJDK platform: jtreg". Retrieved 2008-08-26.
[edit]