Tests for user and product endpoints. In general tests include couple cases:
- user's credentials should match expected credentials, if provided id is correct.
- should prompt an error, if resource with provided id doesn't exists.
- should prompt an error, if provided id is not a number value.
Table below shows testing resources.
Resources |
---|
user |
product |
Feel free to check tests implementation!