RFR: 7903324: Improve per-class reporting of JUnit tests, in .jtr file

Alan Bateman alanb at openjdk.org
Thu Oct 27 18:22:19 UTC 2022


On Tue, 27 Sep 2022 13:24:56 GMT, Christian Stein <cstein at openjdk.org> wrote:

>> Improve per-class reporting of JUnit tests by using a custom `TestExecutionListener` in `JUnitRunner`.
>
> src/share/classes/com/sun/javatest/regtest/agent/JUnitRunner.java line 228:
> 
>> 226: 
>> 227:         @Override
>> 228:         public void reportingEntryPublished(TestIdentifier identifier, ReportEntry entry) {
> 
> @AlanBateman Here is the place where a report entry is printed in the context of a test method.

Would it be possible to paste in sample .jtr output with both the System.out and System.err for a sample with at least two tests (one passes, the other fails) so we can see what it looks like? I think this would help us see how it will look.

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

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


More information about the jtreg-dev mailing list