How to disable a specific test case in TestNG?

How to disable a specific test case in TestNG?

Hello Jacqueline,

To disable a test in TestNG, we have to use the “enabled” attribute as follows:

@Test(enabled=”false”)