diff --git a/pitest/src/main/java/org/pitest/coverage/execute/CoverageMinion.java b/pitest/src/main/java/org/pitest/coverage/execute/CoverageMinion.java index 06d92db36..840adfdac 100644 --- a/pitest/src/main/java/org/pitest/coverage/execute/CoverageMinion.java +++ b/pitest/src/main/java/org/pitest/coverage/execute/CoverageMinion.java @@ -134,6 +134,11 @@ private static List getTestsFromParent( final List tus = discoverTests(testPlugin, classes); + if (tus.isEmpty()) { + LOG.warning("No executable tests were found after examining the " + classes.size() + + " test classes supplied. This may indicate an issue with the classpath or a missing test plugin (e.g for JUnit 5)."); + } + final DependencyFilter filter = new DependencyFilter( new DependencyExtractor(new ClassPathByteArraySource(), paramsFromParent.getDependencyAnalysisMaxDistance()),