RFR: 7903930: Support running individual parameterized tests and @Nested test classes [v6]

Jorn Vernee jvernee at openjdk.org
Mon Jan 20 16:56:50 UTC 2025


On Mon, 20 Jan 2025 16:46:12 GMT, Sam Brannen <duke at openjdk.org> wrote:

> > If `foo` has parameters, then for JUnit tests they have to be specified as a comma separated list of binary names.
> 
> For array types, I believe that canonical names are also supported -- for example, `int[][]`, `java.lang.String[]`, etc., which might prove beneficial if any of those queries are hand crafted.

Yes, that's a good point. I think the main user of this will be the intellij plugin, which will automatically derive the query string, but it wouldn't hurt to mention this in the FAQ. I'll try to see if there's a JUnit doc section that describes the supported format, and we could just link to that.

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

PR Comment: https://git.openjdk.org/jtreg/pull/241#issuecomment-2602893943


More information about the jtreg-dev mailing list