All Downloads are FREE. Search and download functionalities are using the official Maven repository.

au.com.agic.apptesting.Main Maven / Gradle / Ivy

package au.com.agic.apptesting;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public final class Main {

	private static final Logger LOGGER = LoggerFactory.getLogger(Main.class);

	private Main() {
	}

	public static void main(final String... args) {
		try {
			/*
				This is required to run ZAP from webstart
			 */
			System.setSecurityManager(null);

			/*
				Execute the tests
			 */
			new TestRunner();
		} catch (final Exception ex) {
			LOGGER.error(
				"An exception was raised while attempting to run the Cucumber test scripts", ex);
		}

		/*
			This code is useful to leave the console window open after a test has run
			for debugging
		 */
		/*try {
			Thread.sleep(1000000000);
        } catch (InterruptedException e) {
			// doesn't matter
        }*/

		System.exit(0);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy