| Package | Description |
|---|---|
| org.testng | |
| org.testng.internal | |
| org.testng.reporters |
| Modifier and Type | Class and Description |
|---|---|
class |
TestListenerAdapter
A simple ITestListener adapter that stores all the tests that were run.
|
| Modifier and Type | Method and Description |
|---|---|
List<ITestListener> |
TestRunner.getTestListeners() |
List<ITestListener> |
TestNG.getTestListeners() |
| Modifier and Type | Method and Description |
|---|---|
static TestNG |
TestNG.privateMain(String[] argv,
ITestListener listener)
Note: this method is not part of the public API and is meant for internal usage only.
|
| Constructor and Description |
|---|
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
List<IMethodInterceptor> methodInterceptors,
Collection<IInvokedMethodListener> invokedMethodListeners,
Collection<ITestListener> testListeners,
Collection<IClassListener> classListeners,
DataProviderHolder holder,
Comparator<ITestNGMethod> comparator) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IResultListener
A convenient interface to use when implementing listeners.
|
interface |
IResultListener2 |
| Modifier and Type | Class and Description |
|---|---|
class |
ExitCodeListener |
| Modifier and Type | Method and Description |
|---|---|
List<ITestListener> |
ITestResultNotifier.getTestListeners() |
| Modifier and Type | Method and Description |
|---|---|
static void |
TestListenerHelper.runTestListeners(ITestResult tr,
List<ITestListener> listeners)
Iterates through a bunch of listeners and invokes them.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DotTestListener |
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.
|
Copyright © 2025. All rights reserved.