generated from adrienaury/go-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
b0bb6fe
commit 6c2b336
Showing
5 changed files
with
57 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"ID_CLIENT":"0001","EMAIL_CLIENT":"[email protected]","ACCOUNT_NUMBER":1} | ||
{"ID_CLIENT":"0002","EMAIL_CLIENT":"[email protected]","ACCOUNT_NUMBER":2} |
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,3 @@ | ||
{"ID_CLIENT":"0001","EMAIL_CLIENT":"[email protected]","ACCOUNT_NUMBER":null} | ||
{"ID_CLIENT":null,"EMAIL_CLIENT":null,"ACCOUNT_NUMBER":1} | ||
{"EMAIL_CLIENT":"[email protected]","ACCOUNT_NUMBER":1} |
Empty file.
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,31 @@ | ||
# Venom Test Suite definition | ||
# Check Venom documentation for more information : https://github.com/ovh/venom | ||
name: dump | ||
testcases: | ||
- name: no arguments | ||
steps: | ||
- script: silo dump | ||
assertions: | ||
- result.systemerr ShouldContainSubstring "accepts 1 arg(s), received 0" | ||
- result.code ShouldEqual 1 | ||
|
||
- name: invalid silo | ||
steps: | ||
- script: silo dump ../silos/invalid | ||
assertions: | ||
- result.systemerr ShouldContainSubstring "path is not valid" | ||
- result.code ShouldEqual 1 | ||
|
||
- name: full silo | ||
steps: | ||
- script: silo dump ../silos/full | jq .uuid | uniq | wc -l | ||
assertions: | ||
- result.systemout ShouldEqual "2" | ||
- result.code ShouldEqual 0 | ||
|
||
- name: sparse silo | ||
steps: | ||
- script: silo dump ../silos/sparse | jq .uuid | uniq | wc -l | ||
assertions: | ||
- result.systemout ShouldEqual "1" | ||
- result.code ShouldEqual 0 |