This is the start of the document.
Skip to:

[Login] [Join]
Contact us now
1 (888) 357-1204

TestNG Training Course

Customized On-site Training

Request a Quote
or call 1 (888) 357-1204

( 1 day)

TestNG Training Summary

Java Testing with TestNG training course introduces students to the Next Generation Java Testing Framework: TestNG, explains its goals and features, and shows how to apply them in real-world software environments.

TestNG Training Objectives

By taking this course, students will:
  • Learn about the trade-offs associated with testing, so that they can make better decisions about what and how to test
  • Understand the limitations of older testing frameworks (such as jUnit) and how TestNG addresses them
  • Learn about the features and benefits of TestNG
  • Be able to integrate TestNG in their existing code, frameworks, and libraries
  • Become proficient in testing critical code features such as encapsulation, state sharing, scopes, and thread safety
  • Learn how to integrate TestNG with Eclipse and Ant

Audience for TestNG Training

Java Developers and Quality Assurance Engineers who wish to learn how to test Java programs with TestNG framework.

TestNG Training Prerequisites

Students must be familiar with Java including principles behind object oriented programming (OOP).

TestNG Training Outline

Introduction to TestNG

  • Motivation
  • Compared to jUnit
  • Overview of TestNG
    • Features
    • Benefits

Testing with TestNG

  • Downloading
  • Installing
  • Annotations
  • Test, Suites, and Configuration Annotations
  • Groups
  • Configuration via testng.xml
  • First TestNG Test
  • Reporting
  • Integration with Ant and Eclipse

Testing Design Patterns

  • Testing for Failures (Exceptions)
  • Factories
  • Data-driven Testing
  • Asynchronous Testing
  • Multithreaded Testing
  • Performance Testing
  • Mocks and Subs

Dependant Testing 

  • Dependent Code
  • Depending on groups and methods
  • Threads
  • Failures of configuration methods

Test Groups

  • Motivation
  • Groups and Runtime
  • Running Groups
  • Using groups effectively


This is the end of the document. Go back to the top.