-
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.
Merge pull request #3 from amad/feat/testcase-schema
refactor: update testcase schema
- Loading branch information
Showing
5 changed files
with
45 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,36 @@ | ||
{ | ||
"tests": [ | ||
{ | ||
"name": "Github.com is live", | ||
"url": "https://github.com" | ||
}, | ||
{ | ||
"name": "Github.com about shows copyright notice", | ||
"url": "https://github.com/about", | ||
"assertions": { | ||
"body": [ | ||
"© [0-9]{4} GitHub, Inc\\." | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "Github repos API does not accept POST request", | ||
"url": "https://api.github.com/repos/amad/smoker", | ||
"method": "post", | ||
"headers": { | ||
"Accept": "application/json" | ||
}, | ||
"assertions": { | ||
"statusCode": 404 | ||
} | ||
}, | ||
{ | ||
"name": "Github fetch user. This fails without valid token", | ||
"url": "https://api.github.com/user", | ||
"method": "post", | ||
"headers": { | ||
"Authorization": "token GITHUB_TOKEN_PLACEHOLDER" | ||
} | ||
} | ||
] | ||
} |
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