org.testng |
|
Java Source File Name | Type | Comment |
AnnotationConverter.java | Class | Converts between javadoc annotations and java 5 annotations. |
Assert.java | Class | Assertion tool class. |
AssertJUnit.java | Class | A set of assert methods. |
AssertTest.java | Class | |
ClassMethodMap.java | Class | This class maintains a map of > . |
FileAssert.java | Class | Assertion tool for File centric assertions. |
IClass.java | Interface | IClass represents a test class and a collection of its instances. |
IExtraOutput.java | Interface | |
IHookable.java | Interface | If a test class implements this interface, its run() method
will be invoked instead of each @Test method found. |
IHookCallBack.java | Interface | A parameter of this type will be passed to the run() method of a IHookable. |
IInstanceInfo.java | Interface | This class defines a pair of instance/class. |
IMethodSelector.java | Interface | This interface is used to augment or replace TestNG's algorithm to
decide whether a test method should be included in a test run. |
IMethodSelectorContext.java | Interface | An implementation of this interface is passed to all the Method Selectors
when their includeMethod() is invoked. |
IObjectFactory.java | Interface | Factory used to create all test instances. |
IReporter.java | Interface | This interface can be implemented by clients to generate a report. |
IResultMap.java | Interface | |
IRetryAnalyzer.java | Interface | Interface to implement to be able to have a chance to retry a failed test. |
ISuite.java | Interface | Interface defining a Test Suite. |
ISuiteListener.java | Interface | Listener for test suites. |
ISuiteResult.java | Interface | This class represents the result of a suite run. |
ITest.java | Interface | If a test class implements this interface, it will receive a
special treatment, such as having the test name displayed
in the HTML reports. |
ITestClass.java | Interface | This class represents a test class:
- The test methods
- The configuration methods (test and method)
- The class file
Note that the methods returned by instances of this class
are expected to be correct at runtime. |
ITestClassFinder.java | Interface | This class is used by TestNG to locate the test classes. |
ITestContext.java | Interface | This class defines a test context which contains all the information
for a given test run. |
ITestListener.java | Interface | A listener for test running. |
ITestMethodFinder.java | Interface | This interface allows to modify the strategy used by TestRunner
to find its test methods. |
ITestNGMethod.java | Interface | Describes a TestNG annotated method and the instance on which it will be invoked. |
ITestResult.java | Interface | This class describes the result of a test. |
ITestRunnerFactory.java | Interface | A factory for TestRunners to be used by SuiteRunners. |
JUnitConverter.java | Class | Convert JUnit files into TestNG by annotating them. |
JUnitConverterTask.java | Class | |
Reporter.java | Class | This class is used for test methods to log messages that will be
included in the HTML reports generated by TestNG.
Implementation details.
The reporter keeps a combined output of strings (in m_output) and also
a record of which method output which line. |
ReporterConfig.java | Class | Stores the information regarding the configuration of a plugable report listener. |
SkipException.java | Class | The root exception for special skip handling. |
SuiteResult.java | Class | This class logs the result of an entire Test Suite (defined by a
property file). |
SuiteRunner.java | Class | SuiteRunner is responsible for running all the tests included in one
suite. |
SuiteRunState.java | Class | A state object that records the status of the suite run. |
TestClass.java | Class | |
TestException.java | Class | Exception thrown when an exception happens while running a test
method. |
TestListenerAdapter.java | Class | A simple ITestListener adapter that stores all the tests
that were run. |
TestNG.java | Class | This class is the main entry point for running tests in the TestNG framework. |
TestNGAntTask.java | Class | |
TestNGCommandLineArgs.java | Class | TestNG/RemoteTestNG command line arguments parser. |
TestNGException.java | Class | The base class for all exceptions thrown by TestNG. |
TestRunner.java | Class | This class takes care of running one Test. |
TimeBombSkipException.java | Class | A
SkipException extension that transforms a skipped method
into a failed method based on a time trigger.
By default the time format is yyyy/MM/dd (according to
SimpleDateFormat ). |