MarioP
11 years agoOccasional Contributor
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?
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?