Samiksha Jaiswal (Editor)

JavaTest harness

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Developer(s)
  
Oracle Corporation

Operating system
  
Cross-platform

License
  
GPL+linking exception

Written in
  
Java

Platform
  
Java Virtual Machine

Stable release
  
4.1 / March 14, 2012 (2012-03-14)

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

Contents

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.

History

jreg 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.

Use in OpenJDK

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

References

JavaTest harness Wikipedia