RFR: Initial section on testing

Joe Darcy joe.darcy at oracle.com
Fri Oct 16 22:50:05 UTC 2020


Hi Jesper,

Besides the logistical information, I think it would be helpful to add 
some conceptual information about JDK testing.

For example, by default changes should include regression tests, unless 
there is a compelling reason not to. (link to list of noreg-foo labels). 
A given test should run fairly quickly. Most tests run in much less than 
10 seconds on common hardware. A test that runs for minutes and minutes 
is unlikely to be suitable for a regression tests, but may be 
appropriate for other kinds of testing. The tests should pass reliably 
on all platforms the JDK runs on. Watch out for platform-specific 
differences such as path separators. If a test uses randomness, include 
"@key randomness", etc.

Thanks,

-Joe

On 10/16/2020 9:04 AM, Jesper Wilhelmsson wrote:
> It's a start.
>
> -------------
>
> Commit messages:
>   - Initial section on testing
>
> Changes: https://git.openjdk.java.net/guide/pull/30/files
>   Webrev: https://webrevs.openjdk.java.net/?repo=guide&pr=30&range=00
>    Stats: 127 lines in 2 files changed: 109 ins; 16 del; 2 mod
>    Patch: https://git.openjdk.java.net/guide/pull/30.diff
>    Fetch: git fetch https://git.openjdk.java.net/guide pull/30/head:pull/30
>
> PR: https://git.openjdk.java.net/guide/pull/30


More information about the guide-dev mailing list