Created
July 28, 2016 04:12
-
-
Save sylwit/cc75671f869ef86f27136a151f8aeb59 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| | Test | How | HTTP code expected | Assertions | | |
| |-----------------------------------|-------------------------------------------------------------|--------------------|------------------------------------------------------------| | |
| | Should return a list of resources | Call URL | 200 | Count property should match rows.length | | |
| | Should filter resources | Call URL with filter parameters (limit, sort, start,filter) | 200 | Count property, rows.length, id of first and last resource | | |
| | Should return a specific resource | Call URL with a resource ID | 200 | Check each property | | |
| | Should fail if resource not found | Call URL with a fake resource ID | 404 | | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment