Forum Discussion
nmrao
6 years agoChampion Level 3
Another clean / elegant way to achieve the same could be to use Custom Events as there is no in built functionality. I am not sure though if API has been exposed it or not.
Here is the idea.
Write implement "beforeTestCase" method of TestSuiteRunListener.
# Access the current test case tags (please check the javadocs to see if possible)
# Execute the test case if the test case is tagged with intended one
# Skip the execution of test case otherwise
This way, either all the suites can be executed at once or execute them separately. Nothing to bother.
Hope this helps.
Related Content
- 12 years ago
Recent Discussions
- 10 hours ago