RFR: 7903753: Report duration of testng test methods [v2]
Christian Stein
cstein at openjdk.org
Fri Jun 14 10:31:30 UTC 2024
On Fri, 14 Jun 2024 10:25:56 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Understood.
>>
>> Meaning that in this case we rely on TestNG re-using the exact same object instances for `onTestStart()` and `report()` methods.
>
> A possibility here would be to maybe use a record class for the concurrent hash map key which extracts the test class name, and the test name from ITestResult. Would that be unique enough?
Literally `record` types are too new for agent classes - only Java 8 is supported here.
-------------
PR Review Comment: https://git.openjdk.org/jtreg/pull/207#discussion_r1639624709
More information about the jtreg-dev
mailing list