Repository navigation
Platform Console: 0 tests found with junit-platform-console-standalone-6.1.0.jar #5761
Answered by
mpkorstanje
Jun 12, 2026
Replies: 1 comment 2 replies
The Which leads to the second item, the compiled test class is not included in the classpath. You'd add it the usual way using |
2 replies
Answer selected by
mpkorstanje
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


The
--select-fileoption is a request from the platform to a test engine to discover tests in the selected file, but only if it is able too. The Jupiter, Vintage and Suite engines, included in the standalone artifact, can only discover tests on the classpath. So you'd have to use--select-classinstead.Which leads to the second item, the compiled test class is not included in the classpath. You'd add it the usual way using
java --class-path ...or by using the--class-pathoption from the console launcher.