Integrated: CODETOOLS-7903264: Full support for JUnit tests

Jonathan Gibbons jjg at openjdk.org
Fri Aug 26 16:56:18 UTC 2022


On Fri, 26 Aug 2022 01:56:51 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Please review a medium-size patch to upgrade the support for running directories of JUnit tests. This is primarily in the jtreg front end, either cloning or sharing and then modifying the support for directories of TestNG tests. The back end already supports direct use of JUnit for `@run junit` and the new code leverages that work.
> 
> There is one tweak to the JUnit back-end, to enable the generation of summary reports. To that end, the class `TestNGSummaryReporter` has morphed into `SummaryReporter` with internal subtypes for `JUnit` and `TestNG`. That refactoring was too much for git to recognize, and so the change shows up as "old file deleted; new file added".
> 
> Two new groups of tests are added, which are just modified copies of existing TestNG tests, to verify that JUnit support is effectively equivalent to TestNG support.

This pull request has now been integrated.

Changeset: 2bddb406
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.org/jtreg/commit/2bddb406f907072b6951b8b02a0c1a7cf640d7bf
Stats:     852 lines in 26 files changed: 630 ins; 153 del; 69 mod

7903264: Full support for JUnit tests

Reviewed-by: iris

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

PR: https://git.openjdk.org/jtreg/pull/107


More information about the jtreg-dev mailing list