Testing JFR events

Gunnar Morling gunnar at hibernate.org
Tue Nov 24 20:22:21 UTC 2020


Hey all,

I've been working on a JUnit extension for asserting the JFR events emitted
by an application:

    https://github.com/gunnarmorling/jfrunit

My primary use case was asserting custom events, but I'm wondering whether
this also would be interesting for tests of JMC Agent? AFAICS, most tests
there are somewhat implicit, relying on classes to be transformed and such,
but not asserting the actually produced events.

Any thoughts?

Best,

--Gunnar


More information about the jmc-dev mailing list