TestNG

CloudLabs

Projects

Assignment

24x7 Support

Lifetime Access

.

Course Overview

TestNG is a testing framework designed to simplify a broad range of testing needs, from unit testing (testing a class in isolation of the others) to integration testing (testing entire systems made of several classes, several packages and even several external frameworks, such as application servers).

At the end of the training, participants will be able to:

Pre-requisite

Java including principles behind object oriented programming (OOP).

Duarion

 5  days

Course Outline

  1. Motivation
  2. Compared to jUnit
  1. Features
  2. Benefits
  1. Downloading
  2. Installing
  3. Annotations
  4. Test, Suites, and Configuration Annotations
  5. Groups
  6. Configuration via testng.xml
  7. First TestNG Test
  8. Reporting
  9. Integration with Ant and Eclipse
  1. Testing for Failures (Exceptions)
  2. Factories
  3. Data-driven Testing
  4. Asynchronous Testing
  5. Multithreaded Testing
  6. Performance Testing
  7. Mocks and Subs
  1. Dependent Code
  2. Depending on groups and methods
  3. Threads
  4. Failures of configuration methods
  1. Motivation
  2. Groups and Runtime
  3. Running Groups
  4. Using groups effectively

Reviews