Decoding TestNG in Detail
Decoding TestNG in Detail
Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level
Overview/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.
Target Audience
Software professionals, testers, developers, and anyone interested in learning TestNG to improve their unit testing; anyone interested in learning about integration and API testing
Prerequisites
None
Expected Duration (hours)
0.6
Lesson Objectives Decoding TestNG in Detail
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
recall the dependency of tests and the @Factory annotation
use the @Factory annotation to implement tests at runtime
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
describe the various TestNG annotations, including dependencies and groups
Course Number: sd_teng_a02_it_enus
Expertise Level
Beginner