JavaTest harness

jtreg
Developer(s) Oracle Corporation
Stable release 4.1b04[1] / March 14, 2012
Written in Java
Operating system Cross-platform
Platform Java Virtual Machine
License GPL+linking exception
Website openjdk.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

jreg 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

References

  1. "jtreg 4.1 Source Release". Oracle Corporation. Retrieved 2012-12-05.
  2. 2.0 2.1 2.2 "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.

External links