I don\'t have much experience with TestNG annotations, however I am trying to build a test suite using TestNG framework and POM design pattern for a retail website. I am plannin
Since 6.13 throw new SkipException("Skipping the test case");
won't work. I have to set status before throwing exception, otherwise test status will be failure instead of skipped:
iTestResult.setStatus(TestResult.SKIP);
throw new SkipException("Skipping the test case");
Probably it will be fixed/changed in next releases, please see https://github.com/cbeust/testng/issues/1632 for details.