JavaTest harness explained

jtreg
Developer:Oracle Corporation
Latest Release Version:4.1[1]
Operating System:Cross-platform
Platform:Java Virtual Machine
Programming Language:Java
License:GPL+linking exception

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

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

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

See also

External links

Notes and References

  1. Web site: jtreg 4.1 download. OpenJDK community. 2015-12-30.
  2. Web site: jtreg FAQ. Oracle Corporation. 2011-05-08.
  3. Web site: wwwww.jtreg: The Who What Where When Why of jtreg . 2006-11-13. Gibbons. Jonathan. 2011-05-08.
  4. Web site: jtreg 4.1 . 2010-05-27. Gibbons. Jonathan. 2011-05-08.
  5. Web site: OpenJDK Legal Documents. Sun Microsystems.
  6. Web site: Regression Test Harness for the OpenJDK platform: jtreg. 2008-08-26.