O'Reilly logo

Next Generation Java™ Testing: TestNG and Advanced Concepts by Hani Suleiman, Cédric Beust

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. TestNG Javadocs

This appendix contains a list of the important Javadocs TestNG classes. Only a few selected classes are presented here:

  • Annotations
  • The TestNG class
  • The Xml classes

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.

JDK 1.4 and JDK 5

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required