org.testng.remote
Class RemoteTestNG

java.lang.Object
  extended by org.testng.TestNG
      extended by org.testng.remote.RemoteTestNG

public class RemoteTestNG
extends TestNG

Extension of TestNG registering a remote TestListener.

Author:
Cedric Beust

Nested Class Summary
 
Nested classes/interfaces inherited from class org.testng.TestNG
TestNG.ExitCodeListener
 
Field Summary
static String DEBUG_PORT
           
static String DEBUG_SUITE_DIRECTORY
           
static String DEBUG_SUITE_FILE
           
static String PROPERTY_DEBUG
           
static String PROPERTY_VERBOSE
           
 
Fields inherited from class org.testng.TestNG
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 Summary
RemoteTestNG()
           
 
Method Summary
protected  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)
           
 
Methods inherited from class org.testng.TestNG
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_PORT

public static final String DEBUG_PORT
See Also:
Constant Field Values

DEBUG_SUITE_FILE

public static final String DEBUG_SUITE_FILE
See Also:
Constant Field Values

DEBUG_SUITE_DIRECTORY

public static final String DEBUG_SUITE_DIRECTORY

PROPERTY_DEBUG

public static final String PROPERTY_DEBUG
See Also:
Constant Field Values

PROPERTY_VERBOSE

public static final String PROPERTY_VERBOSE
See Also:
Constant Field Values
Constructor Detail

RemoteTestNG

public RemoteTestNG()
Method Detail

setHost

public void setHost(String host)

run

public void run()
Description copied from class: TestNG
Run TestNG.

Overrides:
run in class TestNG

buildTestRunnerFactory

protected ITestRunnerFactory buildTestRunnerFactory()
Override by the plugin if you need to configure differently the 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.


main

public static void main(String[] args)
                 throws com.beust.jcommander.ParameterException
Throws:
com.beust.jcommander.ParameterException

isVerbose

public static boolean isVerbose()

isDebug

public static boolean isDebug()


Copyright © 2015. All Rights Reserved.