View Code? Open in Web Editor
NEW
Package for testing REST services in Golang (http handler functions)
License: GNU General Public License v3.0
resttest's Introduction
Rest unit testing tool for Golang
With resttest
you can
- 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
resttest's People
Contributors
Watchers