Package | Description |
---|---|
org.testng | |
org.testng.internal | |
org.testng.internal.annotations | |
org.testng.internal.thread.graph | |
org.testng.junit | |
org.testng.reporters |
Class and Description |
---|
ConfigurationGroupMethods
This class wraps access to beforeGroups and afterGroups methods,
since they are passed around the various invokers and potentially
modified in different threads.
|
ConstructorOrMethod
Encapsulation of either a method or a constructor.
|
DynamicGraph
Representation of the graph of methods.
|
ExitCode
|---------------------|---------|--------|-------------|------------------------------------------|
| FailedWithinSuccess | Skipped | Failed | Status Code | Remarks |
|---------------------|---------|--------|-------------|------------------------------------------|
| 0 | 0 | 0 | 0 | Passed tests |
| 0 | 0 | 1 | 1 | Failed tests |
| 0 | 1 | 0 | 2 | Skipped tests |
| 0 | 1 | 1 | 3 | Skipped/Failed tests |
| 1 | 0 | 0 | 4 | FailedWithinSuccess tests |
| 1 | 0 | 1 | 5 | FailedWithinSuccess/Failed tests |
| 1 | 1 | 0 | 6 | FailedWithinSuccess/Skipped tests |
| 1 | 1 | 1 | 7 | FailedWithinSuccess/Skipped/Failed tests |
|---------------------|---------|--------|-------------|------------------------------------------|
|
ExitCodeListener |
IConfiguration |
IInvoker
This class defines an invoker.
|
InvokedMethod |
IResultListener
A convenient interface to use when implementing listeners.
|
IResultListener2 |
ITestResultNotifier
An interface defining the notification for @Test results and also
\@Configuration results.
|
NoOpTestClass |
OverrideProcessor
Override the groups included in the XML file with groups specified on the command line.
|
RunInfo
This class contains all the information needed to determine
what methods should be run.
|
SuiteRunnerMap |
TestNGClassFinder
This class creates an ITestClass from a test class.
|
XmlMethodSelector
This class is the default method selector used by TestNG to determine
which methods need to be included and excluded based on the specification
given in testng.xml.
|
Class and Description |
---|
AbstractParallelWorker |
AbstractParallelWorker.Arguments |
AbstractParallelWorker.Arguments.Builder |
BaseClassFinder
This class
|
BaseTestMethod
Superclass to represent both @Test and @Configuration methods.
|
ClassInfoMap |
ClonedMethod |
ConfigurationGroupMethods
This class wraps access to beforeGroups and afterGroups methods,
since they are passed around the various invokers and potentially
modified in different threads.
|
ConfigurationMethod |
ConstructorOrMethod
Encapsulation of either a method or a constructor.
|
DynamicGraph
Representation of the graph of methods.
|
DynamicGraph.Edge |
DynamicGraph.Status |
ExitCode
|---------------------|---------|--------|-------------|------------------------------------------|
| FailedWithinSuccess | Skipped | Failed | Status Code | Remarks |
|---------------------|---------|--------|-------------|------------------------------------------|
| 0 | 0 | 0 | 0 | Passed tests |
| 0 | 0 | 1 | 1 | Failed tests |
| 0 | 1 | 0 | 2 | Skipped tests |
| 0 | 1 | 1 | 3 | Skipped/Failed tests |
| 1 | 0 | 0 | 4 | FailedWithinSuccess tests |
| 1 | 0 | 1 | 5 | FailedWithinSuccess/Failed tests |
| 1 | 1 | 0 | 6 | FailedWithinSuccess/Skipped tests |
| 1 | 1 | 1 | 7 | FailedWithinSuccess/Skipped/Failed tests |
|---------------------|---------|--------|-------------|------------------------------------------|
|
ExpectedExceptionsHolder |
FactoryMethod
This class represents a method annotated with @Factory
|
Graph
Simple graph class to implement topological sort (used to sort methods based on what groups
they depend on).
|
Graph.Node |
IBsh |
IConfiguration |
IInvoker
This class defines an invoker.
|
InvokedMethod |
InvokeMethodRunnable.TestNGRuntimeException |
Invoker
This class is responsible for invoking methods:
- test methods
- configuration methods
- possibly in a separate thread
and then for notifying the result listeners.
|
Invoker.FailureContext |
Invoker.Predicate |
Invoker.StatusHolder |
IResultListener
A convenient interface to use when implementing listeners.
|
ITestResultNotifier
An interface defining the notification for @Test results and also
\@Configuration results.
|
MethodHelper.MatchResults |
MethodInstance |
MethodSelectorDescriptor
This class describes a method selector:
- The class that implements it
- Its priority
|
ParameterHandler.ParameterBag
This class holds a
ParameterHolder or in case of an error, a non-null
TestResult containing the cause |
ParameterHolder
A simple holder for parameters that contains the parameters and where these came from
(data provider or testng.xml)
|
ParameterHolder.ParameterOrigin
Origin of the parameters.
|
Parameters.FilterOutInJectedTypesResult
Store the result of parameterTypes and optionalValues after filter out injected types
|
Parameters.MethodParameters
A parameter passing helper class.
|
RunInfo
This class contains all the information needed to determine
what methods should be run.
|
Systematiser.Order |
TestListenerHelper.ListenerHolder |
TestMethodWorker
FIXME: reduce contention when this class is used through parallel invocation due to
invocationCount and threadPoolSize by not invoking the @BeforeClass and @AfterClass
which are already invoked on the original method.
|
TestNGClassFinder
This class creates an ITestClass from a test class.
|
TestNGMethodFinder.MethodType |
Utils.StackTraceType |
XmlMethodSelector
This class is the default method selector used by TestNG to determine
which methods need to be included and excluded based on the specification
given in testng.xml.
|
Class and Description |
---|
ConstructorOrMethod
Encapsulation of either a method or a constructor.
|
Class and Description |
---|
DynamicGraph
Representation of the graph of methods.
|
DynamicGraph.Status |
SuiteRunnerMap |
Class and Description |
---|
BaseTestMethod
Superclass to represent both @Test and @Configuration methods.
|
ConstructorOrMethod
Encapsulation of either a method or a constructor.
|
ITestResultNotifier
An interface defining the notification for @Test results and also
\@Configuration results.
|
TestResult
This class represents the result of a test.
|
Class and Description |
---|
IResultListener
A convenient interface to use when implementing listeners.
|
IResultListener2 |