in wilma-functionaltest/src/main/java/com/epam/gepard/AllTestRunner.java [132:164]
private void execute(final String[] args) {
ConsoleWriter consoleWriter = new ConsoleWriter(environment);
String propFileList;
String testListFile = null;
try {
consoleWriter.printApplicationInfoBlock();
if ((args.length < 1) || "/?".equals(args[0]) || "--help".equalsIgnoreCase(args[0]) || "help".equalsIgnoreCase(args[0])) {
consoleWriter.printStartFailureBlock();
exitFromGepard(ExitCode.EXIT_CODE_WRONG_NUMBER_OF_PARAMETERS_OR_HELP_REQUEST);
}
propFileList = args[0];
initProperties(environment, propFileList);
consoleWriter.printParameterInfoBlock(propFileList);
testListFile = environment.getProperty(Environment.GEPARD_TESTLIST_FILE);
} catch (Throwable exc) {
exitFromGepardWithCriticalException("\n--- GEPARD EXCEPTION, PLEASE CHECK THE CONFIGURATION! ---", exc, true,
ExitCode.EXIT_CODE_BAD_SETUP);
}
try {
runAll(testListFile);
} catch (ShutDownException e) {
exitFromGepard(e.getExitCode());
} catch (ComplexGepardException e) {
exitFromGepardWithCriticalException(e.getMessage(), e.getCause(), e.isShouldExit(), e.getExitCode());
} catch (Throwable exc) {
exitFromGepardWithCriticalException("\n--- GEPARD EXCEPTION, PLEASE REPORT IT TO THE MAINTAINERS! ---", exc, true,
ExitCode.EXIT_CODE_UNKNOWN_ERROR);
}
exitFromGepard();
}