| This article relies largely or entirely upon a single source. Please help improve this article by introducing appropriate citations of additional sources. (October 2008) |
| This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. Please improve this article by introducing more precise citations where appropriate. (October 2008) |
TestNG is a testing framework created by Cedric Beust for the Java programming language inspired by JUnit and NUnit 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 multiple instances of the same test class (with @Factory)
- 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
External links
- TestNG Home page
- 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
| This computer programming-related article is a stub. You can help Wikipedia by expanding it. |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




