Ignore the test testng code example
Example 1: ignore test in testng
To ignore the test case, we use the (enabled = false) parameter :
@Test(enabled=false)
Example 2: disable test in testng
To ignore the test case, we use the (enabled = false) parameter :
@Test(enabled=false)