Package | Description |
---|---|
org.testng | |
org.testng.remote.strprotocol | |
org.testng.reporters |
Modifier and Type | Class and Description |
---|---|
class |
TestRunner
This class takes care of running one Test.
|
Modifier and Type | Method and Description |
---|---|
ITestContext |
ITestResult.getTestContext() |
ITestContext |
ISuiteResult.getTestContext() |
Modifier and Type | Method and Description |
---|---|
List<ITestContext> |
TestListenerAdapter.getTestContexts() |
Modifier and Type | Method and Description |
---|---|
void |
IInvokedMethodListener2.afterInvocation(IInvokedMethod method,
ITestResult testResult,
ITestContext context)
To be implemented if the method needs a handle to contextual information.
|
void |
IInvokedMethodListener2.beforeInvocation(IInvokedMethod method,
ITestResult testResult,
ITestContext context)
To be implemented if the method needs a handle to contextual information.
|
com.google.inject.Module |
IModuleFactory.createModule(ITestContext context,
Class<?> testClass) |
List<IMethodInstance> |
IMethodInterceptor.intercept(List<IMethodInstance> methods,
ITestContext context) |
void |
TestNG.ExitCodeListener.onFinish(ITestContext context) |
void |
TestListenerAdapter.onFinish(ITestContext testContext) |
void |
ITestListener.onFinish(ITestContext context)
Invoked after all the tests have run and all their
Configuration methods have been called.
|
void |
TestNG.ExitCodeListener.onStart(ITestContext context) |
void |
TestListenerAdapter.onStart(ITestContext testContext) |
void |
ITestListener.onStart(ITestContext context)
Invoked after the test class is instantiated and before
any configuration method is called.
|
Modifier and Type | Method and Description |
---|---|
void |
RemoteTestListener.onFinish(ITestContext testCtx) |
void |
RemoteTestListener.onStart(ITestContext testCtx) |
Constructor and Description |
---|
TestMessage(ITestContext testContext,
boolean isTestStart) |
TestResultMessage(ITestContext testCtx,
ITestResult result) |
Modifier and Type | Method and Description |
---|---|
static void |
TestHTMLReporter.generateLog(ITestContext testContext,
String host,
String outputDirectory,
Collection<ITestResult> failedConfs,
Collection<ITestResult> skippedConfs,
Collection<ITestResult> passedTests,
Collection<ITestResult> failedTests,
Collection<ITestResult> skippedTests,
Collection<ITestResult> percentageTests) |
protected void |
JUnitXMLReporter.generateReport(ITestContext context)
generate the XML report given what we know from all the test results
|
void |
VerboseReporter.onFinish(ITestContext context) |
void |
TextReporter.onFinish(ITestContext context) |
void |
TestHTMLReporter.onFinish(ITestContext context) |
void |
JUnitXMLReporter.onFinish(ITestContext context)
Invoked after all the tests have run and all their
Configuration methods have been called.
|
void |
FailedReporter.onFinish(ITestContext context)
Deprecated.
this class is used now as IReporter
|
void |
VerboseReporter.onStart(ITestContext ctx) |
void |
TestHTMLReporter.onStart(ITestContext context) |
void |
JUnitXMLReporter.onStart(ITestContext context)
Invoked after the test class is instantiated and before
any configuration method is called.
|
Constructor and Description |
---|
TestResult(ITestContext context) |
Copyright © 2015. All rights reserved.