-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
I go to https://docs.junit.org/current/user-guide/#running-tests-console-launcher and it says:
The ConsoleLauncher exits with a status code of 1 if any containers or tests failed. If no tests are discovered and the --fail-if-no-tests command-line option is supplied, the ConsoleLauncher exits with a status code of 2. Otherwise, the exit code is 0.
But I found that in case no test-engine is found -1 is returned (or maybe in other cases as well?).
It would be good to know other exits codes as well as I'm currently work on integrate the launcher with another application and want to give good error messages if something fails.