TestNG is inspired by JUnit and NUnit. TestNG is a testing framework designed to meet all needs to automate web application testing including unit testing, functional testing, end-to-end testing, integration testing, etc. TestNG is more powerful and easy to use. TestNG supports Data-driven testing.
Features
- TestNG comes with a set of Annotations.
- Code is multi-thread safe
- Flexible configuration
- Support data-driven testing (with @DataProvider annotation)
- Powerful execution model
- Supported by Eclipse, IDEA, Maven, etc.
- Default JDK functions for runtime and logging
- Dependent methods for application server testing
TestNG Installation and Configuration - Let's see how to install and configure TestNG with Eclipse.
TestNG Annotations - Get started with list of TestNG Annotations.
How To Set Priority Of Execution Of Test Cases - Let's see how to Set Priority Of Execution Of Test Cases.
One Test Case Depends On Other Test Cases - Get started with one Test Case Depends on other Test Cases.
How To Ignore Test Case - Let's see how to Ignore Test Case.
How To Set Maximum Time For Test Case Execution - Let's see how to Set Maximum Time For Test Case Execution.
How To List Excepted Exception Of Test Method - Let's see how to list excepted exceptions that a test method can throw.
>