Forum Discussion

MarioP's avatar
MarioP
Occasional Contributor
11 years ago

How to skip test case in Jenkins during its execution.

Hi,

I have several test suites where test cases execution (or to be specific status after execution) depends on the system state. As the result I can have failed test cases because there are some bugs and failed test cases because system state was inappropriate. Now having that I would like to be able to determine which test cases failed because of bugs and which because of system state.

For soapUI execution I've added a simple solution which is cancelling the test case when the system state is not ok.

Unfortunately, cancelled tests are not shown in Jenkins and they are not mapped to skipped tests. So when I ran tests from Jenkins again I cannot tell which tests failed why. Is there any solution to mark test case as skipped in Jenkins during its execution?

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3
    May this is not exactly what you are looking for. If you know the exact test cases not to run, disable them in the suite before executing from jenkins.