Exploring TestNG
Exploring TestNG
-
Online, Self-Paced
Course Description
TestNG is a testing framework inspired by JUnit and Nunit. It supports a wide variety of test categories. This course will introduce you to TestNG, including installing TestNG and installing and configuring Eclipse to support it.
Learning Objectives
TestNG Fundamentals
- start the course
- define TestNG and describe its purpose in unit testing
- demonstrate specific features and benefits, including test case writing, of TestNG
Setting Up TestNG
- list the requirements for installing TestNG for all available platforms
- list the steps for installing Eclipse on all available platforms and mapping the necessary directories
- describe the steps of installing the TestNG plugin in Eclipse and verifying that it is successful
- demonstrate the process of creating a project and a basic test using Eclipse and TestNG
Using Testng.xml in TestNG
- recognize the concepts behind using the testng.xml configuration file, including when to use it
- demonstrate the process of creating a test suite and testng.xml file and executing it
- demonstrate the process of creating a testng.xml file to run multiple tests
Beginning TestNG Annotations
- describe the use of annotations in TestNG, including order of execution and benefits
- demonstrate the use of Before and After annotations and execute a Java project that includes various types
Practice: Exploring TestNG Concepts
- define TestNG, including concepts of installing and configuring the framework, and create a basic test and test suite
Framework Connections
The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.
Feedback
If you would like to provide feedback for this course, please e-mail the NICCS SO at NICCS@hq.dhs.gov.