excluding part of test in testng code example
Example: excluding part of test in testng
By adding the exclude tag in the testing.xml
<classes>
<class name="TestCaseName">
<methods>
<exclude name="TestMethodNameToExclude"/>
</methods>
</class>
</classes>