Versions in this module Expand all Collapse all v0 v0.0.2 Jul 26, 2022 Changes in this version type TestCases + func (tc TestCases) Method(method string) TestCases + func (tc TestCases) Router(r func(*gin.Engine)) TestCases + func (tc TestCases) Url(url string) TestCases v0.0.1 Jul 23, 2022 Changes in this version + func First(a interface{}, b interface{}) interface + func NewMultipartFormData(fieldName, fileName string) (bytes.Buffer, *multipart.Writer) + func Second(a interface{}, b interface{}) interface + type Equal func(*testing.T, interface{}, interface{}) + type HttpHeader map[string]string + type TestCase struct + After func() + Before func() + Body interface{} + ContentType string + ExpectedCode int + ExpectedHeader HttpHeader + ExpectedResponse interface{} + Method string + Middlewares []func(c *gin.Context) + Router func(*gin.Engine) + Url string + type TestCases map[string]TestCase + func (tc TestCases) Run(t *testing.T, equal Equal)