Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarmorling committed Nov 30, 2020
1 parent 5548e47 commit 1141a8b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ Alternatively, build JfrUnit from source (see below) yourself and add the follow
Then you can implement tests expecting specific JFR events like so:

```java
@JfrEventTest
public class JfrTest {

@RegisterExtension
static JfrEvents jfrEvents = new JfrEvents();

@Test
Expand All @@ -56,6 +56,9 @@ public class JfrTest {
}
```

Note that when you're writing a test for a Quarkus application using the `@QuarkusTest` annotation, you don't need (and even should not) add the `@JfrEventTest` annotation.
Instead, the Quarkus test framework will automatically pick up the required callbacks for managing the JFR recording.

## Build

This project requires OpenJDK 14 or later for its build.
Expand Down

0 comments on commit 1141a8b

Please sign in to comment.