Angie Jones
http://angiejones.tech
@techgirl1908
Senior Automation Engineer
Twitter, San Francisco, CA, USA
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
Credit: Mark Winteringham
Resource: https://restful-booker.herokuapp.com
@techgirl1908
@techgirl1908
CRUD | REST Methods | Tests |
---|---|---|
create | POST | |
read | GET | |
update | PUT | |
delete | DELETE |
@techgirl1908
CRUD | REST Methods | Tests |
---|---|---|
create | POST | post with all optional and required data post with only required data post with required data missing post with invalid data for the parameters |
read | GET | |
update | PUT | |
delete | DELETE |
@techgirl1908
CRUD | REST Methods | Tests |
---|---|---|
create | POST | post with all optional and required data post with only required data post with required data missing post with invalid data for the parameters |
read | GET | get when profile doesn't exist get when profile exists create profile then get update profile then get delete profile then get |
update | PUT | |
delete | DELETE |
@techgirl1908
CRUD | REST Methods | Tests |
---|---|---|
create | POST | post with all optional and required data post with only required data post with required data missing post with invalid data for the parameters |
read | GET | get when profile doesn't exist get when profile exists create profile then get update profile then get delete profile then get |
update | PUT | update existing profile update non-existing profile update deleted profile update then update again |
delete | DELETE |
@techgirl1908
CRUD | REST Methods | Tests |
---|---|---|
create | POST | post with all optional and required data post with only required data post with required data missing post with invalid data for the parameters |
read | GET | get when profile doesn't exist get when profile exists create profile then get update profile then get delete profile then get |
update | PUT | update existing profile update non-existing profile update deleted profile update then update again |
delete | DELETE | delete profile delete when there are dependencies delete after delete delete non-existing |
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
https://restful-booker.herokuapp.com/booking/{id}
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
@techgirl1908
https://api.twitter.com/1.1/search/tweets.json?q={query}
@techgirl1908
https://api.twitter.com/1.1/search/tweets.json?q={query}
@techgirl1908
Test | Expectation |
---|---|
single word | every returned tweet's text should contain word |
multiple words (logical AND) | every returned tweet's text should contain each of the words |
"multiple words" | every returned tweet's text should contain the exact phrase |
logical OR | every returned tweet's text should contain at least one of the words |
word + negated (-) other word | every returned tweet's text should contain word but not contain negated word |
https://api.twitter.com/1.1/search/tweets.json?q={query}
@techgirl1908
Test | Expectation |
---|---|
from:author + word | every returned tweet's author should be the one specified and the tweet's text should contain the word |
filter:{attribute} + word attribute can be verified, media, links, retweets, etc |
every returned tweet should have the attribute that was filtered and the tweet's text should contain the word |
blank search | invalid search |
search produces no results | empty response body |
word with special characters | every returned tweet's text should contain the word |
https://api.twitter.com/1.1/search/tweets.json
@techgirl1908
Additional areas |
---|
rate limit |
character limit |
authorization |
combinations of the other 9 optional paramaters |
@techgirl1908
@techgirl1908