Annotations, Groups & Dependencies

TestNG For Eclipse
  • 12 Videos | 30m 40s
  • Includes Assessment
  • Earns a Badge
Likes 9 Likes 9
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

  • Playable
    1. 
    Test Annotation in TestNG
    2m 7s
    UP NEXT
  • Playable
    2. 
    Using the TestNG Assertion Class
    1m 46s
  • Locked
    3. 
    Parameterization in TestNG
    1m 50s
  • Locked
    4. 
    Using the TestNG DataProvider Feature
    1m 36s
  • Locked
    5. 
    Using the DataProvider Method
    1m 59s
  • Locked
    6. 
    Factory Concepts
    1m 15s
  • Locked
    7. 
    Factory in Use
    2m 18s
  • Locked
    8. 
    Grouping in TestNG
    1m 45s
  • Locked
    9. 
    Running a TestNG Group
    2m 10s
  • Locked
    10. 
    Dependencies in TestNG
    1m 49s
  • Locked
    11. 
    Running a Dependency Test
    2m 4s
  • Locked
    12. 
    Exercise: Overview of TestNG Methods and Procedures
    5m 32s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

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

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Likes 18 Likes 18  
Likes 19 Likes 19  

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 82 Likes 82  
Likes 87 Likes 87  
Likes 294 Likes 294