-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
76 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name : "Testing skip" | ||
testcases: | ||
- name : "skip something" | ||
steps: | ||
- info: | ||
- Set a variable to 1 | ||
- script : "echo '1'" | ||
vars : | ||
out: | ||
from : result.systemout | ||
- name: "Skip this as out is 1 and we are checking if its equal with 2" | ||
script: | | ||
exit 1 | ||
skip: | ||
- out ShouldEqual 2 | ||
- script: "echo 'false'" | ||
vars: | ||
outAsBool: | ||
from: result.systemout | ||
- name: "skip as outAsBool is False" | ||
script: | | ||
exit 1 | ||
skip: | ||
- outAsBool ShouldBeTrue | ||
- name : "producer" | ||
steps: | ||
- info: | ||
- Set a variable to 1 | ||
- script : "echo '1'" | ||
vars : | ||
out: | ||
from : result.systemout | ||
- name: "consumer" | ||
skip: | ||
- producer.out ShouldEqual 1 | ||
step: | ||
- info: | ||
- "Fail should be skipped as we are checking that the producer.out is equal with 1" | ||
script: | | ||
exit 1 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters