This appendix contains a list of the important Javadocs TestNG classes. Only a few selected classes are presented here:
Since this kind of documentation tends to get out of date, we encourage you to refer to the online documentation or, better, to trust your IDE to give you the correct completions and latest documentation when you are developing.
TestNG supports both JDK 1.4 and JDK 5. Since annotations are not supported on JDK 1.4, TestNG uses an alternative syntax to allow developers to annotate methods. This syntax is based on Javadocs tags, with each JDK 5 annotation matched with an equivalent Javadocs one. Each annotation described here is shown ...