Package | Description |
---|---|
org.testng | |
org.testng.remote.strprotocol | |
org.testng.reporters |
Modifier and Type | Interface and Description |
---|---|
interface |
IAnnotationTransformer |
interface |
IAnnotationTransformer2
Use this interface instead of IAnnotationTransformer if you want to modify any TestNG
annotation besides @Test.
|
interface |
IConfigurable
If a test class implements this interface, its run() method
will be invoked instead of each configuration method found.
|
interface |
IHookable
If a test class implements this interface, its run() method
will be invoked instead of each @Test method found.
|
interface |
IInvokedMethodListener
A listener that gets invoked before and after a method is invoked by TestNG.
|
interface |
IInvokedMethodListener2
Implement this interface if you need a handle to
ITestContext . |
interface |
IMethodInterceptor
This class is used to alter the list of test methods that TestNG is about to run.
|
interface |
IReporter
This interface can be implemented by clients to generate a report.
|
interface |
ISuiteListener
Listener for test suites.
|
interface |
ITestListener
A listener for test running.
|
Modifier and Type | Class and Description |
---|---|
class |
SuiteRunner
SuiteRunner is responsible for running all the tests included in one
suite. |
class |
TestListenerAdapter
A simple ITestListener adapter that stores all the tests
that were run.
|
static class |
TestNG.ExitCodeListener |
Modifier and Type | Method and Description |
---|---|
ITestNGListener |
ITestNGListenerFactory.createListener(Class<? extends ITestNGListener> listenerClass)
Create and return an instance of the listener class passed in parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
ISuite.addListener(ITestNGListener listener) |
void |
SuiteRunner.addListener(ITestNGListener listener) |
Modifier and Type | Method and Description |
---|---|
ITestNGListener |
ITestNGListenerFactory.createListener(Class<? extends ITestNGListener> listenerClass)
Create and return an instance of the listener class passed in parameter.
|
Modifier and Type | Class and Description |
---|---|
class |
RemoteTestListener
A special listener that remote the event with string protocol.
|
Modifier and Type | Class and Description |
---|---|
class |
DotTestListener |
class |
EmailableReporter
Reported designed to render self-contained HTML top down view of a testing
suite.
|
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 |
JUnitReportReporter |
class |
JUnitXMLReporter
A JUnit XML report generator (replacing the original JUnitXMLReporter that was
based on XML APIs).
|
class |
JUnitXMLReporter2
this XML Reporter will produce XML format compatible with the XMLJUnitResultFormatter from ant
this enables TestNG output to be processed by tools that already handle this format
borrows heavily from ideas in org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter
this is the original version which was replaced by JUnitXMLReporter
|
class |
SuiteHTMLReporter
This class implements an HTML reporter for suites.
|
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 |
XMLReporter
The main entry for the XML generation operation
|
Copyright © 2012. All Rights Reserved.