How to hide particular test from generated testng report?



I am using testng for my automation test framework.


Here is the testng.xml:



<test name="Suite Run (Please ignore this)">
<classes>
<class name="com.aaa.setup.SuiteRun" />
</classes>
</test>


The Method in test run before suite and display on report. But I don't want to display this test on report generated by testNG.


Is there any way to do this or any way to execute this method without mentioning in testng.xml?


No comments:

Post a Comment