public class RemoteTestNG extends TestNG
TestNG.ExitCodeListener
Modifier and Type | Field and Description |
---|---|
static String |
DEBUG_PORT |
static String |
DEBUG_SUITE_DIRECTORY |
static String |
DEBUG_SUITE_FILE |
static String |
PROPERTY_DEBUG |
static String |
PROPERTY_VERBOSE |
DEFAULT_COMMAND_LINE_SUITE_NAME, DEFAULT_COMMAND_LINE_TEST_NAME, DEFAULT_OUTPUTDIR, DEFAULT_VERBOSE, HAS_FAILURE, HAS_FSP, HAS_NO_TEST, HAS_SKIPPED, m_end, m_start, m_suites, m_useDefaultListeners, SHOW_TESTNG_STACK_FRAMES, TEST_CLASSPATH
Constructor and Description |
---|
RemoteTestNG() |
Modifier and Type | Method and Description |
---|---|
protected org.testng.ITestRunnerFactory |
buildTestRunnerFactory()
Override by the plugin if you need to configure differently the
TestRunner
(usually this is needed if different listeners/reporters are needed). |
static boolean |
isDebug() |
static boolean |
isVerbose() |
static void |
main(String[] args) |
void |
run()
Run TestNG.
|
void |
setHost(String host) |
addClassLoader, addExecutionListener, addInvokedMethodListener, addListener, addListener, addListener, addListener, addListener, addMethodSelector, configure, configure, getAnnotationTransformer, getConfigFailurePolicy, getConfiguration, getDefault, getDefaultSuiteName, getDefaultTestName, getEnd, getOutputDirectory, getReporters, getServiceLoaderListeners, getStart, getStatus, getSuiteListeners, getSuiteThreadPoolSize, getTestListeners, hasFailure, hasFailureWithinSuccessPercentage, hasSkip, initializeSuitesAndJarFile, isJdk14, privateMain, runSuitesLocally, setAnnotationTransformer, setCommandLineSuite, setConfigFailurePolicy, setDataProviderThreadCount, setDefaultSuiteName, setDefaultTestName, setExcludedGroups, setGroupByInstances, setGroups, setHasFailure, setHasFailureWithinSuccessPercentage, setHasSkip, setJUnit, setListenerClasses, setMaster, setMethodInterceptor, setMixed, setObjectFactory, setObjectFactory, setOutputDirectory, setParallel, setPreserveOrder, setRandomizeSuites, setServiceLoaderClassLoader, setSkipFailedInvocationCounts, setSlave, setSourcePath, setSuiteThreadPoolSize, setTestClasses, setTestJar, setTestNames, setTestNGVersion, setTestRunnerFactory, setTestSuites, setThreadCount, setUseDefaultListeners, setVerbose, setXmlPathInJar, setXmlSuites, validateCommandLineParameters
public static final String DEBUG_PORT
public static final String DEBUG_SUITE_FILE
public static final String DEBUG_SUITE_DIRECTORY
public static final String PROPERTY_DEBUG
public static final String PROPERTY_VERBOSE
public static void main(String[] args) throws com.beust.jcommander.ParameterException
com.beust.jcommander.ParameterException
public static boolean isVerbose()
public static boolean isDebug()
public void run()
TestNG
protected org.testng.ITestRunnerFactory buildTestRunnerFactory()
TestRunner
(usually this is needed if different listeners/reporters are needed).
Note: you don't need to worry about the wiring listener, because it is added
automatically.public void setHost(String host)
Copyright © 2011–2015. All rights reserved.