TestNG is an open source automated testing framework that is inspired from JUnit(in Java) and NUnit(in C#). It’s one of the most popular test automation frameworks in Java. The “NG” in the name stands for “Next Generation.” This framework was created by Cedric Beust.
TestNG is similar to JUnit, but it’s more powerful and easy-to-use owing to functionalities such as integrated classes, annotations, grouping of test methods, multithreaded execution, parameterizing, and built-in reporting framework. We’ll be covering all those features here. Using TestNG, testers can handle all levels of testing, including Unit Testing, Functional Testing, Integration Testing, and End-to-end Testing.
We’ll be using TestNG with Eclipse Integrated Development Environment(IDE) as it is one of the most widely used Java IDE.
Topics:
- TestNG: Introduction
- Install Selenium WebDriver in Eclipse IDE
- TestNG: Install in Eclipse IDE
- Setup Project and Package in Eclipse IDE for TestNG (Coming up)
- Writing Your First Test Case in Eclipse with TestNG
- How to Create a TestNG Test Suite to Run Multiple Test Cases
- Annotations in TestNG
- TestNG Parameters
- @DataProvider annotation
- TestNG Groups
- Dependency Testing with TestNG
- Order TestNG Testcases
- Timeout in TestNG