RFR: 7903592: Add test source set

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Nov 27 11:47:39 UTC 2023


On Wed, 22 Nov 2023 13:32:05 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Add a source set for the test source directories in gradle. And add the jtreg jars as dependencies of test compilation. Intellij will then automatically mark the directories as test source directories, and add the jtreg jar files to the class path of the tests (so that e.g. the `@Test` annotation and other testng imports are recognized)
> 
> i.e. these changes are for better Intellij (and maybe other IDE) integration.

Nice!

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

Marked as reviewed by mcimadamore (Committer).

PR Review: https://git.openjdk.org/jextract/pull/143#pullrequestreview-1750247146


More information about the jextract-dev mailing list