Testing

Iris offers an incredible support for the httpexpect, a Testing Framework for web applications. The iris/httptest subpackage provides helpers for Iris + httpexpect.

if you prefer the Go’s standard net/http/httptest package, you can still use it. Iris as much every http web framework is compatible with any external tool for testing, at the end it’s HTTP.