Annotations, Groups & Dependencies

TestNG For Eclipse    |    Beginner
  • 12 videos | 26m 10s
  • Includes Assessment
  • Earns a Badge
Rating 4.7 of 24 users Rating 4.7 of 24 users (24)
TestNG has various annotations and methods to help create complex tests. This course covers test annotation in TestNG, the TestNG assert class, TestNG parameterization, TestNG DataProvider features, the DataProvider method, factory concepts and usage, TestNG grouping, and dependencies. See how to run a dependency test. As a review exercise, you will describe various TestNG annotations, use the assert class and parameterization, define factory and the data provider annotation, describe how groups are used, and finally, show how to use TestNG dependencies.

WHAT YOU WILL LEARN

  • 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

IN THIS COURSE

  • 2m 7s
    Upon completion of this video, you will be able to describe the use of the @Test annotation in TestNG, including the various important attributes. FREE ACCESS
  • 1m 46s
    In this video, learn how to identify the purpose of TestNG assertions and create an example using TestNG Asserts. FREE ACCESS
  • Locked
    3.  Parameterization in TestNG
    1m 50s
    In this video, you will learn how to define the use of the parameterization feature in TestNG. FREE ACCESS
  • Locked
    4.  Using the TestNG DataProvider Feature
    1m 36s
    After completing this video, you will be able to describe the DataProvider feature in TestNG and what it is used for. FREE ACCESS
  • Locked
    5.  Using the DataProvider Method
    1m 59s
    Learn how to apply the use of DataProvider by creating a test method that uses DataProvider. FREE ACCESS
  • Locked
    6.  Factory Concepts
    1m 15s
    After completing this video, you will be able to recall the dependency of tests and the @Factory annotation. FREE ACCESS
  • Locked
    7.  Factory in Use
    2m 18s
    During this video, you will learn how to use the @Factory annotation to implement tests at runtime. FREE ACCESS
  • Locked
    8.  Grouping in TestNG
    1m 45s
    Upon completion of this video, you will be able to describe the concepts of grouping test methods, including grouping tests and regular expressions. FREE ACCESS
  • Locked
    9.  Running a TestNG Group
    2m 10s
    In this video, you will learn about the process of running a TestNG group. FREE ACCESS
  • Locked
    10.  Dependencies in TestNG
    1m 49s
    Upon completion of this video, you will be able to describe the dependency feature in TestNG, including writing a multiple dependency test and using regular expressions. FREE ACCESS
  • Locked
    11.  Running a Dependency Test
    2m 4s
    In this video, you will learn about the process of running a test that depends on or inherits from another object. FREE ACCESS
  • Locked
    12.  Exercise: Overview of TestNG Methods and Procedures
    5m 32s
    After completing this video, you will be able to describe the various TestNG annotations, including dependencies and groups. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 4.4 of 67 users Rating 4.4 of 67 users (67)
Channel TestNG

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 131 users Rating 4.4 of 131 users (131)
Rating 4.4 of 137 users Rating 4.4 of 137 users (137)
Rating 4.5 of 82 users Rating 4.5 of 82 users (82)