Some of the features of TestNG

Some of the features of TestNG

1. Ability to enable or disable a test method:

We can manually set disable a particular test method or all the test methods in a class by providing a parameter to @Test annotation

Example:

//To disable all test methods in a class
@Ignore
public class FirstTest { ...

Last updated