Skip to content

Releases: Hexilee/htest

panic with MockNilError if calls Request.Test and Request.Handler == nil

26 Feb 14:36
Compare
Choose a tag to compare

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

23 Feb 16:59
Compare
Choose a tag to compare

http.Response.Status of go 1.9+ is different from former version, so remove Status() assert

gjson release a new version, pass all test

23 Feb 16:25
Compare
Choose a tag to compare

gjson release a new version, pass all test

Add MD5 and SHA1 supports to response body

23 Feb 11:13
Compare
Choose a tag to compare

Add MD5 and SHA1 supports to response body

Fixed a bug, Result.Time() can only parse time with format RFC3339

23 Feb 09:52
Compare
Choose a tag to compare

Fixed a bug, Result.Time() can only parse time with format RFC3339

All asserts of headers pass tests

22 Feb 14:19
Compare
Choose a tag to compare

All asserts of headers pass tests

All asserts of statusCode pass tests

22 Feb 13:37
Compare
Choose a tag to compare

All asserts of statusCode pass tests

Remove Response.With, Set *testing.T in NewClient

22 Feb 12:11
Compare
Choose a tag to compare

Remove Response.With, Set *testing.T in NewClient

Assure client is immutable

22 Feb 09:17
Compare
Choose a tag to compare

Replace ptr receiver of all Client methods with value receiver. Assure client is immutable

Pass all test, can use it in productive environment

21 Feb 14:37
Compare
Choose a tag to compare

Pass all test, can use it in productive environment