diff --git a/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/JunitTestRunner.java b/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/JunitTestRunner.java index 20927d810aed1..2a1b39be1e244 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/JunitTestRunner.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/dev/testing/JunitTestRunner.java @@ -276,6 +276,9 @@ public void executionFinished(TestIdentifier testIdentifier, TestExecutionResult if (aborted) { return; } + if (touchedClasses.isEmpty()) { + return; + } Class testClass = null; String displayName = testIdentifier.getDisplayName(); TestSource testSource = testIdentifier.getSource().orElse(null);