- TestNG
TestNG is a testing framework created by Cedric Beust for the Java programming language inspired by
JUnit andNUnit but introducing some new functionalities that purport to make it more powerful and easier to use.TestNG features include:
* JDK 5 Annotations (JDK 1.4 is also supported with JavaDoc annotations).
* Flexible test configuration.
* Support for data-driven testing (with @DataProvider).
* Support for parameters.
* Allows distribution of tests on slave machines.
* Powerful execution model (no more TestSuite).
* Supported by a variety of tools and plug-ins (such as Eclipse, IDEA, Maven).
* Embeds BeanShell for further flexibility.
* Default JDK functions for runtime and logging (no dependencies).
* Dependent methods for application server testing.TestNG is designed to cover all categories of tests, including unit, functional, and integration tests.
See also
*
JUnit
*xUnit External links
* [http://testng.org/doc/ TestNG Home page]
* [http://testng.org/javadocs/index-all.html TestNG javadocs]
* [http://jyperion.org/articles/testng/testng.htm jyperion.org TestNG]
* [http://www-128.ibm.com/developerworks/java/library/j-testng/ TestNG makes Java unit testing a breeze] (Caution: Examples may contain deprecated code.)
* [http://www-128.ibm.com/developerworks/java/library/j-cq08296/index.html IBM Developerworks In pursuit of code quality: JUnit 4 vs. TestNG Why TestNG is still the better framework for large-scale testing]
Wikimedia Foundation. 2010.