Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.reporters | |
org.testng.reporters.jq | |
org.testng.xml | |
org.testng.xml.dom |
Modifier and Type | Field and Description |
---|---|
protected List<XmlSuite> |
TestNG.m_suites |
Modifier and Type | Method and Description |
---|---|
XmlSuite |
SuiteRunner.getXmlSuite() |
XmlSuite |
ISuite.getXmlSuite() |
Modifier and Type | Method and Description |
---|---|
void |
TestNG.setCommandLineSuite(XmlSuite suite) |
Modifier and Type | Method and Description |
---|---|
void |
IAlterSuiteListener.alter(List<XmlSuite> suites) |
void |
IReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory)
Generate a report for the given suites into the specified output directory.
|
void |
TestNG.setXmlSuites(List<XmlSuite> suites)
Specifies the XmlSuite objects to run.
|
Constructor and Description |
---|
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
String outputDir) |
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
String outputDir,
ITestRunnerFactory runnerFactory) |
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners) |
SuiteRunner(IConfiguration configuration,
XmlSuite suite,
String outputDir,
ITestRunnerFactory runnerFactory,
boolean useDefaultListeners,
List<IMethodInterceptor> methodInterceptors,
List<IInvokedMethodListener> invokedMethodListeners,
List<ITestListener> testListeners,
List<IClassListener> classListeners) |
Modifier and Type | Method and Description |
---|---|
static XmlSuite |
Yaml.parse(String filePath,
InputStream is) |
XmlSuite |
YamlParser.parse(String filePath,
InputStream is,
boolean loadClasses) |
Modifier and Type | Method and Description |
---|---|
Collection<XmlSuite> |
OverrideProcessor.process(Collection<XmlSuite> suites) |
Modifier and Type | Method and Description |
---|---|
static Object[] |
Parameters.createConfigurationParameters(Method m,
Map<String,String> params,
Object[] parameterValues,
ITestNGMethod currentTestMethod,
IAnnotationFinder finder,
XmlSuite xmlSuite,
ITestContext ctx,
ITestResult testResult)
Creates the parameters needed for the specified @Configuration
Method . |
static Object[] |
Parameters.createInstantiationParameters(Constructor ctor,
String methodAnnotation,
IAnnotationFinder finder,
String[] parameterNames,
Map<String,String> params,
XmlSuite xmlSuite)
Creates the parameters needed for constructing a test class instance.
|
ISuite |
SuiteRunnerMap.get(XmlSuite xmlSuite) |
static ParameterHolder |
Parameters.handleParameters(ITestNGMethod testMethod,
Map<String,String> allParameterNames,
Object instance,
Parameters.MethodParameters methodParams,
XmlSuite xmlSuite,
IAnnotationFinder annotationFinder,
Object fedInstance)
If the method has parameters, fill them in.
|
void |
IInvoker.invokeConfigurations(IClass testClass,
ITestNGMethod[] allMethods,
XmlSuite suite,
Map<String,String> parameters,
Object[] parameterValues,
Object instance)
Invoke configuration methods if they belong to the same TestClass
passed in parameter..
|
void |
Invoker.invokeConfigurations(IClass testClass,
ITestNGMethod[] allMethods,
XmlSuite suite,
Map<String,String> params,
Object[] parameterValues,
Object instance)
Invoke configuration methods if they belong to the same TestClass passed
in parameter..
|
protected ITestResult |
Invoker.invokeTestMethod(Object instance,
ITestNGMethod tm,
Object[] parameterValues,
int parametersIndex,
XmlSuite suite,
Map<String,String> params,
ITestClass testClass,
ITestNGMethod[] beforeMethods,
ITestNGMethod[] afterMethods,
ConfigurationGroupMethods groupMethods,
org.testng.internal.Invoker.FailureContext failureContext)
invokeTestMethods() eventually converge here to invoke a single @Test method.
|
List<ITestResult> |
IInvoker.invokeTestMethods(ITestNGMethod testMethod,
XmlSuite suite,
Map<String,String> parameters,
ConfigurationGroupMethods groupMethods,
Object instance,
ITestContext testContext)
Invoke the given method
|
List<ITestResult> |
Invoker.invokeTestMethods(ITestNGMethod testMethod,
XmlSuite suite,
Map<String,String> testParameters,
ConfigurationGroupMethods groupMethods,
Object instance,
ITestContext testContext)
Invoke all the test methods.
|
void |
SuiteRunnerMap.put(XmlSuite xmlSuite,
ISuite suite) |
static StringBuilder |
Yaml.toYaml(XmlSuite suite)
The main entry point to convert an XmlSuite into YAML.
|
Modifier and Type | Method and Description |
---|---|
Collection<XmlSuite> |
OverrideProcessor.process(Collection<XmlSuite> suites) |
Constructor and Description |
---|
TestMethodWithDataProviderMethodWorker(Invoker invoker,
ITestNGMethod testMethod,
int parameterIndex,
Object[] parameterValues,
Object instance,
XmlSuite suite,
Map<String,String> parameters,
ITestClass testClass,
ITestNGMethod[] beforeMethods,
ITestNGMethod[] afterMethods,
ConfigurationGroupMethods groupMethods,
ExpectedExceptionsHolder expectedExceptionHolder,
ITestContext testContext,
boolean skipFailedInvocationCounts,
int invocationCount,
int failureCount,
ITestResultNotifier notifier) |
TestMethodWorker(IInvoker invoker,
IMethodInstance[] testMethods,
XmlSuite suite,
Map<String,String> parameters,
ConfigurationGroupMethods groupMethods,
ClassMethodMap classMethodMap,
ITestContext testContext,
List<IClassListener> listeners) |
Modifier and Type | Method and Description |
---|---|
protected void |
FailedReporter.generateFailureSuite(XmlSuite xmlSuite,
ISuite suite,
String outputDir) |
Modifier and Type | Method and Description |
---|---|
void |
EmailableReporter.generateReport(List<XmlSuite> xml,
List<ISuite> suites,
String outdir)
Creates summary of the run
|
void |
SuiteHTMLReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
void |
XMLReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
void |
FailedReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
void |
JqReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
void |
EmailableReporter2.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
void |
JUnitReportReporter.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String defaultOutputDirectory) |
Constructor and Description |
---|
FailedReporter(XmlSuite xmlSuite) |
Modifier and Type | Method and Description |
---|---|
void |
Main.generateReport(List<XmlSuite> xmlSuites,
List<ISuite> suites,
String outputDirectory) |
Modifier and Type | Method and Description |
---|---|
XmlSuite |
XmlSuite.getParentSuite() |
XmlSuite |
XmlTest.getSuite()
Returns the suite this test is part of.
|
XmlSuite |
TestNGContentHandler.getSuite() |
XmlSuite |
SuiteXmlParser.parse(String currentFile,
InputStream inputStream,
boolean loadClasses) |
XmlSuite |
XmlSuite.shallowCopy()
This method returns a shallow cloned version.
|
Modifier and Type | Method and Description |
---|---|
List<XmlSuite> |
XmlSuite.getChildSuites() |
Collection<XmlSuite> |
Parser.parse()
Parses the TestNG test suite and returns the corresponding XmlSuite,
and possibly, other XmlSuite that are pointed to by
|
List<XmlSuite> |
Parser.parseToList() |
Collection<XmlSuite> |
IPostProcessor.process(Collection<XmlSuite> suites) |
Modifier and Type | Method and Description |
---|---|
void |
XmlSuite.setParentSuite(XmlSuite parentSuite) |
void |
XmlTest.setSuite(XmlSuite result) |
void |
XmlTest.setXmlSuite(XmlSuite suite) |
Modifier and Type | Method and Description |
---|---|
Collection<XmlSuite> |
IPostProcessor.process(Collection<XmlSuite> suites) |
Constructor and Description |
---|
XmlTest(XmlSuite suite) |
XmlTest(XmlSuite suite,
int index)
Constructs a
XmlTest and adds it to suite's list of tests. |
Modifier and Type | Method and Description |
---|---|
XmlSuite |
DomXmlParser.parse(String currentFile,
InputStream inputStream,
boolean loadClasses) |
XmlSuite |
DomXmlParser.parse2(String currentFile,
InputStream inputStream,
boolean loadClasses) |
Modifier and Type | Method and Description |
---|---|
void |
DomUtil.populate(XmlSuite xmlSuite) |
Copyright © 2017. All rights reserved.