RFR: Initial section on testing [v3]

Igor Ignatyev iignatyev at openjdk.java.net
Mon Oct 19 21:37:23 UTC 2020


On Mon, 19 Oct 2020 19:05:27 GMT, Jesper Wilhelmsson <jwilhelm at openjdk.org> wrote:

>> Although I'd love to see gtest used not only for hotspot tests, it's not currently the case, so I agree with @prrace ,
>> you need to explicitly say that gtest is currently used/supported only for hotspot tests, all other OpenJDK test suites
>> are Jtreg based.
>
> Ok. The text has been updated to include this information.

Although you updated Gtest's introduction paragraph to reflect that as of now gtest is for hotspot only, I think it
needs to be said here as well.

> The Google Test (GTest) framework is intended for unit testing of the C++ native code.

this statement can also create an inadequate impression that you can't/shouldn't test native code w/ jtreg, this isn't
the case as one can a) test native code thru java API; b) use native test code in jtreg tests.

btw, point b) might deserve a sentence or two in JTreg section of this document.

-------------

PR: https://git.openjdk.java.net/guide/pull/30


More information about the guide-dev mailing list