Probe / Events for JUnit5?

Questions about YourKit Java Profiler
Post Reply
r.weires
Posts: 1
Joined: Fri Feb 24, 2023 9:53 am

Probe / Events for JUnit5?

Post by r.weires »

I noticed in a recent YourKit installation (YourKit-JavaProfiler-2022.9) that the builtin JUnitTests probe doesn't seem to cover JUnit5 at all - at least according to the source I found in the installation at:

Code: Select all

probes/src/com/yourkit/probes/builtin/JUnitTests.java
Is this a known issue, and/or something which may be added soon?

It would be quite nice to have the JUnit5 lifecycle (different annotations, i.e. things in org.junit.jupiter namespace) supposed as well.

If I understand correctly (I'm fairly new to YourKit), that would also be needed to see events (e.g. test start / stop, running of setup/teardown parts) in YourKit UI.
Vladimir Kondratyev
Posts: 1619
Joined: Tue Aug 10, 2004 7:52 pm

Re: Probe / Events for JUnit5?

Post by Vladimir Kondratyev »

I'm glad to inform that the annotations from org.junit.jupiter package are supported in the upcoming profiler version 2023.5 https://www.yourkit.com/eap/

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Post Reply