TestNG is an open source automated testing framework that is inspired from JUnit(in Java) and NUnit(in C#). TestNG is very 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 in this TestNG Tutorial series.
The “NG” in the name stands for “Next Generation.” With TestNG, testers have the flexibility of handling all levels of testing, including Unit Testing, Functional Testing, Integration Testing, and End-to-end Testing – making it one of the most popular test automation frameworks in Java.
As we would be working with Java, it would be helpful if you have a basic understanding of Java programming language and software development process.
Useful download links
We’ll be using TestNG with Eclipse Integrated Development Environment(IDE). So, let’s get started with the TestNG Tutorial series:
TestNG Tutorial Topics:
- TestNG: Introduction
- Install Selenium WebDriver in Eclipse IDE
- TestNG: Install in Eclipse IDE
- Writing Your First Test Case in Eclipse with TestNG
- TestNG Test Suite
- Annotations in TestNG
- TestNG Parameters
- @DataProvider annotation
- TestNG Groups
- Dependency Testing with TestNG
- Order TestNG Testcases
- Timeout in TestNG