I am interested in how JDK is tested itself, what test engine it uses.
I found some links:
Also, I would like to see how frameworks like Swing and JavaFX are tested.
Are there any manuals / instructions available about how to execute / look through JDK tests?
To execute one or more tests, you must minimally specify the version of JDK to use, and which tests to be run: % jtreg -jdk:test-jdk test-or-folder... test-jdk will be used to run the tests in the specified files and/or folders.
OpenJDK is a free and open-source implementation of the Java SE Platform Edition.
OpenJDK comes with its own regression test suite.
The tests can be found in the 'test' subdirectory of the individual repositories making up a JDK forest. For example, javax.swing jtreg tests for JDK 9 can be found at http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/tip/test/javax/swing .
These tests are run using the jtreg tool. You can learn more about it here: http://openjdk.java.net/projects/code-tools/jtreg/intro.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With