Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.junit | |
org.testng.reporters |
Modifier and Type | Class and Description |
---|---|
class |
TestListenerAdapter
A simple ITestListener adapter that stores all the tests
that were run.
|
static class |
TestNG.ExitCodeListener |
Modifier and Type | Field and Description |
---|---|
private ITestListener[] |
SuiteRunner.DefaultTestRunnerFactory.m_failureGenerators |
private ITestListener[] |
SuiteRunner.ProxyTestRunnerFactory.m_failureGenerators |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ITestListener> |
TestRunner.m_testListeners
ITestListeners support.
|
private java.util.List<ITestListener> |
SuiteRunner.m_testListeners |
private java.util.List<ITestListener> |
TestNG.m_testListeners |
Modifier and Type | Method and Description |
---|---|
java.util.List<ITestListener> |
TestRunner.getTestListeners() |
java.util.List<ITestListener> |
TestNG.getTestListeners() |
Modifier and Type | Method and Description |
---|---|
void |
TestNG.addListener(ITestListener listener)
Deprecated.
Use addListener(ITestNGListener) instead
|
void |
TestRunner.addTestListener(ITestListener il)
Deprecated.
addListener(ITestNGListener) should be used instead
|
static TestNG |
TestNG.privateMain(java.lang.String[] argv,
ITestListener listener)
Note: this method is not part of the public API and is meant for internal usage only.
|
Modifier and Type | Method and Description |
---|---|
private void |
SuiteRunner.init(IConfiguration configuration,
XmlSuite suite,
java.lang.String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
java.util.List<IMethodInterceptor> methodInterceptors,
java.util.List<IInvokedMethodListener> invokedMethodListener,
java.util.List<ITestListener> testListeners,
java.util.List<IClassListener> classListeners) |
Constructor and Description |
---|
DefaultTestRunnerFactory(IConfiguration configuration,
ITestListener[] failureListeners,
boolean useDefaultListeners,
boolean skipFailedInvocationCounts) |
ProxyTestRunnerFactory(ITestListener[] failureListeners,
ITestRunnerFactory target) |
Constructor and Description |
---|
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
java.lang.String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
java.util.List<IMethodInterceptor> methodInterceptors,
java.util.List<IInvokedMethodListener> invokedMethodListeners,
java.util.List<ITestListener> testListeners,
java.util.List<IClassListener> classListeners) |
Modifier and Type | Interface and Description |
---|---|
interface |
IResultListener
A convenient interface to use when implementing listeners.
|
interface |
IResultListener2 |
Modifier and Type | Method and Description |
---|---|
java.util.List<ITestListener> |
ITestResultNotifier.getTestListeners() |
Modifier and Type | Method and Description |
---|---|
static void |
Invoker.runTestListeners(ITestResult tr,
java.util.List<ITestListener> listeners) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<ITestListener> |
JUnit4TestRunner.m_listeners |
Modifier and Type | Method and Description |
---|---|
private static void |
JUnitTestRunner.runTestListeners(ITestResult tr,
java.util.List<ITestListener> listeners) |
Modifier and Type | Class and Description |
---|---|
class |
DotTestListener |
class |
ExitCodeListener
A very simple
ITestListener used by the TestNG runner to
find out the exit code. |
class |
FailedReporter
This reporter is responsible for creating testng-failed.xml
|
class |
JUnitXMLReporter
A JUnit XML report generator (replacing the original JUnitXMLReporter that was
based on XML APIs).
|
class |
TestHTMLReporter
This class implements an HTML reporter for individual tests.
|
class |
TextReporter
A simple reporter that collects the results and prints them on standard out.
|
class |
VerboseReporter
Reporter printing out detailed messages about what TestNG
is going to run and what is the status of what has been just run.
|