Releases: Hexilee/htest
Releases · Hexilee/htest
panic with MockNilError if calls Request.Test and Request.Handler == nil
http.Response.Status of go 1.9+ is different from former version, so remove Status() assert
http.Response.Status of go 1.9+ is different from former version, so remove Status() assert
gjson release a new version, pass all test
gjson release a new version, pass all test
Add MD5 and SHA1 supports to response body
Add MD5 and SHA1 supports to response body
Fixed a bug, Result.Time() can only parse time with format RFC3339
Fixed a bug, Result.Time() can only parse time with format RFC3339
All asserts of headers pass tests
All asserts of headers pass tests
All asserts of statusCode pass tests
All asserts of statusCode pass tests
Remove Response.With, Set *testing.T in NewClient
Remove Response.With, Set *testing.T in NewClient
Assure client is immutable
Replace ptr receiver of all Client methods with value receiver. Assure client is immutable
Pass all test, can use it in productive environment
Pass all test, can use it in productive environment