TestNG is a testing framework inspired by JUnit and NUnit but introduces some new functionalities that make it more powerful and easier to use. TestNG is designed to cover all categories of tests: unit, functional, end-to-end, integration, etc…
Table Of Contents
1. Setup and Installation
2. TestNG Basics
- Annotations Tutorial
- Before and After Annotations
- Expected Exception and Expected Message
- How to disable/ignore test method
- Timeout Test
- Passing Parameters through testng.xml and @Parameters Annotation
3. Advanced Topics
- Passing Parameters through @DataProvider
- Test Groups, Meta Group, Default Group Examples
- Dependent Tests Examples
- @Factory Annotation
- Difference between @Factory and @DataProvider
- Executing Parallel Tests
- Execute TestNG Tests With Maven Build
Happy Learning !!