TestNG
From Wikipedia, the free encyclopedia
TestNG is a testing framework for the Java programming language inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use, such as:
- JDK 5 Annotations (JDK 1.4 is also supported with JavaDoc annotations). (however, as of version 4, JUnit also supports this)
- 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 (Eclipse, IDEA, Maven, etc...).
- 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: unit, functional, end-to-end, integration, etc...
More information can be found on its home page.
[edit] See also
[edit] External links
- TestNG javadocs
- jyperion.org TestNG
- TestNG makes Java unit testing a breeze (Caution: Examples may contain deprecated code.)
- IBM Developerworks In pursuit of code quality: JUnit 4 vs. TestNG Why TestNG is still the better framework for large-scale testing