| Package | Description |
|---|---|
| org.testng | |
| org.testng.internal | |
| org.testng.internal.invokers | |
| org.testng.internal.thread | |
| org.testng.internal.thread.graph | |
| org.testng.reporters | |
| org.testng.reporters.jq | |
| org.testng.thread |
| Modifier and Type | Class and Description |
|---|---|
class |
SuiteRunner
SuiteRunner is responsible for running all the tests included in one suite. |
| Modifier and Type | Method and Description |
|---|---|
ISuite |
ITestContext.getSuite() |
ISuite |
TestRunner.getSuite() |
| Modifier and Type | Method and Description |
|---|---|
List<ISuite> |
SuiteRunnerWorker.getTasks() |
protected List<ISuite> |
TestNG.runSuites()
Run the test suites.
|
List<ISuite> |
TestNG.runSuitesLocally()
This needs to be public for maven2, for now..At least until an alternative mechanism is found.
|
| Modifier and Type | Method and Description |
|---|---|
TestRunner |
ITestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
Collection<IInvokedMethodListener> listeners,
List<IClassListener> classListeners) |
default TestRunner |
ITestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
Collection<IInvokedMethodListener> listeners,
List<IClassListener> classListeners,
DataProviderHolder holder)
Produces a new
TestRunner |
default TestRunner |
ITestRunnerFactory.newTestRunner(ISuite suite,
XmlTest test,
Collection<IInvokedMethodListener> listeners,
List<IClassListener> classListeners,
Map<Class<? extends IDataProviderListener>,IDataProviderListener> dataProviderListeners)
Produces a new
TestRunner |
default void |
ISuiteListener.onFinish(ISuite suite)
This method is invoked after the SuiteRunner has run all the tests in the suite.
|
default void |
ISuiteListener.onStart(ISuite suite)
This method is invoked before the SuiteRunner starts.
|
| Modifier and Type | Method and Description |
|---|---|
int |
SuiteRunnerWorker.compareTo(IWorker<ISuite> arg0) |
default void |
IReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory)
Generate a report for the given suites into the specified output directory.
|
| Constructor and Description |
|---|
SuiteRunnerWorker(ISuite suiteRunner,
SuiteRunnerMap suiteRunnerMap,
int verbose,
String defaultSuiteName) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners,
Comparator<ITestNGMethod> comparator) |
TestRunner(IConfiguration configuration,
ISuite suite,
XmlTest test,
String outputDirectory,
IAnnotationFinder finder,
boolean skipFailedInvocationCounts,
Collection<IInvokedMethodListener> invokedMethodListeners,
List<IClassListener> classListeners,
Comparator<ITestNGMethod> comparator,
DataProviderHolder otherHolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
ExitCodeListener.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
| Modifier and Type | Method and Description |
|---|---|
ISuite |
SuiteRunnerMap.get(XmlSuite xmlSuite) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ISuite> |
SuiteRunnerMap.values() |
| Modifier and Type | Method and Description |
|---|---|
void |
SuiteRunnerMap.put(XmlSuite xmlSuite,
ISuite suite) |
| Modifier and Type | Method and Description |
|---|---|
ITestNGThreadPoolExecutor |
DefaultThreadPoolExecutorFactory.newSuiteExecutor(String name,
IDynamicGraph<ISuite> graph,
IThreadWorkerFactory<ISuite> factory,
int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue,
Comparator<ISuite> comparator) |
ITestNGThreadPoolExecutor |
DefaultThreadPoolExecutorFactory.newSuiteExecutor(String name,
IDynamicGraph<ISuite> graph,
IThreadWorkerFactory<ISuite> factory,
int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue,
Comparator<ISuite> comparator) |
ITestNGThreadPoolExecutor |
DefaultThreadPoolExecutorFactory.newSuiteExecutor(String name,
IDynamicGraph<ISuite> graph,
IThreadWorkerFactory<ISuite> factory,
int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue,
Comparator<ISuite> comparator) |
| Modifier and Type | Method and Description |
|---|---|
List<IWorker<ISuite>> |
SuiteWorkerFactory.createWorkers(List<ISuite> suites)
For each suite, creates a
SuiteRunnerWorker |
| Modifier and Type | Method and Description |
|---|---|
List<IWorker<ISuite>> |
SuiteWorkerFactory.createWorkers(List<ISuite> suites)
For each suite, creates a
SuiteRunnerWorker |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FailedReporter.generateFailureSuite(XmlSuite xmlSuite,
ISuite suite,
String outputDir) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
EmailableReporter.generateMethodDetailReport(List<ISuite> suites)
Creates a section showing known results for each method
|
protected void |
EmailableReporter.generateMethodSummaryReport(List<ISuite> suites)
Creates a table showing the highlights of each test method with links to the method details
|
void |
XMLReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
void |
SuiteHTMLReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
void |
JUnitReportReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String defaultOutputDirectory) |
void |
FailedReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
void |
EmailableReporter2.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
void |
EmailableReporter.generateReport(List<XmlSuite> xml,
List<ISuite> suites,
String outdir)
Creates summary of the run
|
void |
EmailableReporter.generateSuiteSummaryReport(List<ISuite> suites) |
| Constructor and Description |
|---|
SuiteResult(ISuite suite) |
| Modifier and Type | Method and Description |
|---|---|
List<ISuite> |
Model.getSuites() |
protected List<ISuite> |
BasePanel.getSuites() |
| Modifier and Type | Method and Description |
|---|---|
void |
Main.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
| Constructor and Description |
|---|
Model(List<ISuite> suites) |
| Modifier and Type | Method and Description |
|---|---|
ITestNGThreadPoolExecutor |
IExecutorFactory.newSuiteExecutor(String name,
IDynamicGraph<ISuite> graph,
IThreadWorkerFactory<ISuite> factory,
int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue,
Comparator<ISuite> comparator) |
ITestNGThreadPoolExecutor |
IExecutorFactory.newSuiteExecutor(String name,
IDynamicGraph<ISuite> graph,
IThreadWorkerFactory<ISuite> factory,
int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue,
Comparator<ISuite> comparator) |
ITestNGThreadPoolExecutor |
IExecutorFactory.newSuiteExecutor(String name,
IDynamicGraph<ISuite> graph,
IThreadWorkerFactory<ISuite> factory,
int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
BlockingQueue<Runnable> workQueue,
Comparator<ISuite> comparator) |
Copyright © 2025. All rights reserved.