package main import ( "testing" "github.com/kataras/iris/httptest" ) func TestController(t *testing.T) { e := httptest.New(t, newApp()) e.POST("/").Expect().Status(httptest.StatusOK) }