TestNG Tutorial: Introduction

Print Page

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.

TestNG Tutorial Logo
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.

Prerequisites

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:

Topics are listed in an orderly manner starting from the basic, however, feel free to jump to one based on what you wish to learn.