RFR: 7904071: JTReg should report stats of test collections [v4]

Daniel Jeliński djelinski at openjdk.org
Tue Sep 2 15:59:57 UTC 2025


On Tue, 2 Sep 2025 13:10:18 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> Please review this change accumulating the count numbers of TestNG's and JUnit's text report files and prints them after a test run as follows:
>> 
>>> `Framework-based tests: 188 = 104 TestNG + 84 JUnit`
>> 
>> Note that an internal, yet public, API of `SummaryReporter` was changed to be package-private now.
>
> Christian Stein has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Format number with decimal separator

src/share/classes/com/sun/javatest/regtest/report/RegressionReporter.java line 118:

> 116:                 int sumOfCounts = countTestNG + countJUnit;
> 117:                 if (sumOfCounts > 0) {
> 118:                     log.println(String.format("Framework-based tests: %,d = %,d TestNG + %,d JUnit",

consider adding Locale.ROOT to String.format; some locales use weird decimal formatting

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

PR Review Comment: https://git.openjdk.org/jtreg/pull/283#discussion_r2316525309


More information about the jtreg-dev mailing list