End-to-end HTTP and REST API testing for Go, forked from gavv/httpexpect.
This is the assertion engine behind iris/v14/httptest. You almost certainly want that package rather than this one:
import "github.com/kataras/iris/v14/httptest"
func TestIndex(t *testing.T) {
app := newApp()
e := httptest.New(t, app)
e.GET("/").Expect().Status(httptest.StatusOK).Body().Contains("Hello")
}fasthttp support is removed. FastBinder, NewFastBinder and NewFastWebsocketDialer do not exist here, and neither do the six libraries behind them. Iris speaks net/http, so every fasthttp byte was weight that every Iris test binary carried and never used.
Everything else tracks upstream. The full list of differences, the upstream version this is based on, and the procedure for the next sync are in FORK.md.
The upstream README documents the assertion API, which is unchanged here apart from the removals above.
main targets Iris v14. The v12 branch is the pre-2026 tree that Iris v12 builds against; it is frozen and receives no upstream syncs.
MIT — see LICENSE. Copyright Victor Gaydov and contributors, and the Iris contributors.