org.testng.internal.RuntimeBehavior Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
A testing framework for the JVM
package org.testng.internal;
/**
* This class houses handling all JVM arguments by TestNG
*/
public final class RuntimeBehavior {
private RuntimeBehavior() {
}
/**
* @return - returns true
if we would like to run in the Dry mode and
* false
otherwise.
*/
public static boolean isDryRun() {
String value = System.getProperty("testng.mode.dryrun", "false");
return Boolean.parseBoolean(value);
}
}