I am trying to use the Test Suite capability recently introduced into JUnit5, but I can't figure-out how to get Junit to discover the test cases declared in the test suite and execute them when using the Console Launcher or Maven. It is probably due to missing/incorrect command line options and/or parameters, but I can't seem to find any references or examples of how to launch a suite of tests from the command line (I can however execute the tests from the VSCode IDE).
Using VSCode (launched clicking on ES9PlusSuite |> icon)
Attempt using the Console Launcher
Attempt using Maven
I found that adding configuration for surefire for my test suite class name pattern allowed it to get discovered, and then declarations were used to run the test cases. I also included configuration to show the DisplayName for the test cases.