TestNG

Contents

Features

TestNG features include:

Tool Support

TestNG is supported, out-of-the-box or via plug-ins, by each of the three major Java IDEs - Eclipse, IntelliJ IDEA, and NetBeans. It also comes with a custom task for Apache Ant and is supported by the Maven build system. The Hudson continuous integration server has built-in support for TestNG and is able to track and chart test results over time. Most Java code coverage tools, such as Cobertura, work seamlessly with TestNG.

Reporting

TestNG generates test reports in HTML and XML formats. The XML output can be transformed by the Ant JUnitReport task[1] to generate reports similar to those obtained when using JUnit. Since version 4.6, TestNG also provides a reporter API[2] that permits third-party report generators, such as ReportNG[3] and TestNG-XSLT,[4] to be used.

See also

External links

References