- Emulate HTTP request to test resulting HTTP response
- Gather response body, code and headers to assert them
- Use GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, CONNECT and TRACE HTTP verbs
- Unit test http handler functions
- Omit redundant dependencies in your tests
- Reduce complexity of tests
- Keep your tests simple to write, easy to maintain and clear to understand