Welcome to Test Automation University! In this course, I will cover Test Next Generation (TestNG), a Java test framework. You will see why TestNG was designed for developers and automation testers who want to go beyond unit testing.
xUnit is a family of Unit Test Frameworks that consists of JUnit for Java, PyUnit for Python, and NUnit for the .Net programming languages such as C Sharp.
JUnit is the most popular test framework but TestNG is the most powerful test framework. TestNG was influenced by JUnit so it adopted the same concepts then added more testing features.
Our lesson plan will include:
- Installing TestNG
- Annotations
- Assertions
- Attributes (priority, depends on methods, and dependsOnGroups)
- Data-driven testing
- Cross-browser testing
Let’s get started! 🚀
Overview
Learn to execute and verify your automated tests with TestNG
- Introduction to TestNG
- Chapter 1 – Introduction To TestNG
- Chapter 2 – Installing TestNG
- Chapter 3 – TestNG Annotations
- Chapter 4 – TestNG XML Files
- Chapter 5 – Priority Attribute
- Chapter 6.1 – Intro to TestNG Assertions
- Chapter 6.2 – Hard Asserts
- Chapter 6.3 – Soft Asserts
- Chapter 7.1 – Intro to Dependency Testing
- Chapter 7.2 – dependsOnMethods Attribute
- Chapter 7.3 – groups and dependsOnGroups Attributes
- Chapter 8 – Data Driven Testing
- Chapter 9 – Cross-Browser Testing
How to Enroll: Introduction to TestNG
- Choose your desired certificate program on the IBM website.
- Create an IBM ID if you don’t have one.
- Select specific courses within your chosen program.
- Enroll in courses, and pay if necessary.
- Access course materials and complete requirements.
- Prepare for and take certification exams if required.
- Earn your certificate upon successful completion.
- Be aware of maintenance or renewal requirements, if applicable.