can we skip tests in testNG?

software testing, Test Automation 0 Comment 74

There are multiple way to skip the test as below:

1 . “@Test(enabled=false)” : this will skip the test but need to compile the code before run .

2. You can crate the group with name “testexclusion” and use that group for any test in testng.xml as part of test exclusion.


Leave a comment

You must be logged in to post a comment.

© 2016 4frienz. Powered By Flowers

Back to Top