• Online, Self-Paced
Course Description

TestNG has various annotations and methods that can be used to create complex tests. In this course, you will explore these areas and more annotations, including groups and dependencies.

Learning Objectives

TestNG Annotations

  • start the course
  • describe the use of the @Test annotation in TestNG, including the various important attributes
  • identify the purpose of TestNG assertions and create an example using TestNG Asserts
  • define the use of the parameterization feature in TestNG
  • describe the DataProvider feature in TestNG and what it's used for
  • demonstrate the use of DataProvider by creating a test method including DataProvider

Testing Factory Annotation

  • recall the dependency of tests and the @Factory annotation
  • use the @Factory annotation to implement tests at runtime

Working with Groups and Dependencies

  • describe the concepts of grouping test methods, including grouping tests and regular expressions
  • demonstrate the process of running a TestNG group
  • describe the dependency feature in TestNG, including writing a multiple dependency test and regular expressions
  • demonstrate the process of running a test that depends on or inherits from another artifact

Practice: Methods and Procedures in Testing

  • describe the various TestNG annotations, including dependencies and groups

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.