-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: francois samin <[email protected]>
- Loading branch information
Showing
6 changed files
with
127 additions
and
14 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
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,28 @@ | ||
name: "Skip testsuite" | ||
vars: | ||
foo: bar | ||
|
||
testcases: | ||
- name: init | ||
steps: | ||
- type: exec | ||
script: echo {{.foo}} | ||
assertions: | ||
- result.code ShouldEqual 0 | ||
- result.systemout ShouldContainSubstring bar | ||
|
||
- name: do-not-skip-this | ||
skip: | ||
- foo ShouldNotBeEmpty | ||
steps: | ||
- type: exec | ||
script: exit 0 | ||
|
||
- name: skip-this | ||
skip: | ||
- foo ShouldBeEmpty | ||
steps: | ||
- type: exec | ||
script: command_not_found | ||
assertions: | ||
- result.code ShouldEqual 0 |
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