Q. What is the purpose of @Groups in TestNG?

A
To define a test
B
To categorize test methods into groups
C
To set up data
D
To clean resources
Solution:

@Groups allows organizing test methods into categories for selective execution.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!