On Thu, 13 Jun 2024 06:59:39 GMT, Jaikiran Pai <j...@openjdk.org> wrote:

>> test/jdk/java/io/IO/IO.java line 192:
>> 
>>> 190:     // adapted from 
>>> https://junit.org/junit5/docs/current/user-guide/#extensions-lifecycle-callbacks-timing-extension
>>> 191: 
>>> 192:     public static class TimingExtension implements 
>>> BeforeTestExecutionCallback,
>> 
>> In passing, this feels like infrastructure that we could use in several 
>> areas as it regularly comes up as to how long specific tests take (the 
>> "seconds" line recorded by jtreg in the .jtr file is too coarse grain when 
>> there are many tests in the same source file).
>
> Looking briefly at this, I think we should be able to provide this as a 
> feature of jtreg's support of `junit` test itself. I've created 
> https://bugs.openjdk.org/browse/CODETOOLS-7903751 to investigate this support 
> in jtreg.

This is something that I discussed with Christen Stein about. We've tossed 
around some ideas, he created CODETOOLS-7903752 so we may have a dup.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19627#discussion_r1637772922

Reply via email to