TestNG is a testing framework for the Java programming language created by Cedric_Beust and inspired by JUnit and NUnit.
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.
The XML output can be transformed by the Ant JUnitReport task[4] to generate reports similar to those obtained when using JUnit.
TestNG includes four additional setup/teardown annotation pairs for the test suite and groups: @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest, @BeforeGroup and @AfterGroup, @BeforeMethod and @AfterMethod.
TestNG is noted for extra configuration options and capability for different kinds of testing.