| Package | Description |
|---|---|
| org.testng | |
| org.testng.internal | |
| org.testng.reporters |
| Modifier and Type | Class | Description |
|---|---|---|
class |
TestListenerAdapter |
A simple ITestListener adapter that stores all the tests
that were run.
|
static class |
TestNG.ExitCodeListener |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<ITestListener> |
TestNG.getTestListeners() |
|
java.util.List<ITestListener> |
TestRunner.getTestListeners() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
TestNG.addListener(ITestListener listener) |
Deprecated.
Use addListener(ITestNGListener) 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 | Interface | Description |
|---|---|---|
interface |
IResultListener |
A convenient interface to use when implementing listeners.
|
interface |
IResultListener2 |
| Modifier and Type | Class | Description |
|---|---|---|
class |
ExitCodeListener |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<ITestListener> |
ITestResultNotifier.getTestListeners() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
TestListenerHelper.runTestListeners(ITestResult tr,
java.util.List<ITestListener> listeners) |
Iterates through a bunch of listeners and invokes them.
|
| Modifier and Type | Class | 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.
|