RFR: Initial section on testing [v6]
Jesper Wilhelmsson
jwilhelm at openjdk.java.net
Wed Oct 21 20:03:16 UTC 2020
On Tue, 20 Oct 2020 12:04:27 GMT, Erik Helin <ehelin at openjdk.org> wrote:
>> Jesper Wilhelmsson has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Link to html version of testing docs
>
> src/index.md line 453:
>
>> 451: `ASSERT` is a fatal assertion and will interrupt execution of the current sub-routine. `EXPECT` is a nonfatal assertion and will report the error but continues to run the test. All assertions have both an `ASSERT` and an `EXPECT` variant.
>> 452:
>> 453: For more information on how to write good GTests in HotSpot, see [`doc/hotspot-unit-tests.md`](https://htmlpreview.github.io/?https://github.com/openjdk/jdk/blob/master/doc/hotspot-unit-tests.html).
>
> Suggestion:
>
> For more information on how to write good GTests in HotSpot, see [`doc/hotspot-unit-tests.md`](https://github.com/openjdk/jdk/blob/master/doc/hotspot-unit-tests.md).
That's what I initially linked to, but it doesn't look very nice...
> src/index.md line 340:
>
>> 338: In addition to your own Java applications, OpenJDK have support for two test frameworks, JTReg and GTest. JTReg is a Java regression test framework that is used for most of the tests that are included in the OpenJDK source repository. The Google Test (GTest) framework is intended for unit testing of the C++ native code. Currently only JVM testing is supported by the GTest framework. Other areas use JTReg for unit testing of C++ code.
>> 339:
>> 340: This section provides a brief summary of how to get started with testing in OpenJDK. For more information on configuration and how to use the OpenJDK test framework, a.k.a. "run-test framework", see [`doc/testing.md`](https://htmlpreview.github.io/?https://github.com/openjdk/jdk/blob/master/doc/testing.html).
>
> Suggestion:
>
> This section provides a brief summary of how to get started with testing in OpenJDK. For more information on configuration and how to use the OpenJDK test framework, a.k.a. "run-test framework", see [`doc/testing.html`](https://openjdk.java.net/groups/build/doc/testing.html).
Is this document updated as changes happen in the source .md-files?
-------------
PR: https://git.openjdk.java.net/guide/pull/30
More information about the guide-dev
mailing list