TestNG
What functionality makes TestNG a better choice than JUnit 3/4?
- Groups
- Run-time configuration of which tests to run
- Dependent methods
- Flexible support for data-driven testing with DataProviders
- Support for testing with multiple threads
How to swap between tests that require a specific environment and tests that do not
How to handle different groups of tests separately with TestNG?
How to do setup and tearDown for a group of tests.
How to do setup and tearDown for a group of tests.
Working combinations of TestNG and surefire
Resources
http://maven.apache.org/plugins/maven-surefire-plugin/examples/testng.html http://docs.codehaus.org/pages/viewpage.action?pageId=62120