- Add the
Zero()
method to theAsserts
type
- Migrate to Go 1.18
- Fix checking for nil error in
Asserts.ErrorContains()
- Fix generator to resist concurrent calls
- Web simulator now provides some convenience methods
- Web package now uses
httptest
package
- Migrate web response to
http.Response
- Add helper for request body
- Change web response to use the standard
http.Response
- Add helper for response body
- New
web
package for handler tests
- Optimize output of last change
- Fix output in case of failing web body assertions
Asserts
now containsNotOK()
andAnyError()
for error handlingAsserts
created withNewTesting()
now uses theFailable
asPrinter
Generator
now containsOneOf()
Asserts
now containsNotPanics()
andPanicsWith()
Asserts.OK()
now also handlesfunc() error
- Migrate Tester into private helper functions
- Drop unused output in
Asserts
unit test
- Length tester now counts runes instead of bytes in case of strings
- Extend
Asserts.OK()
for more types - Extend
Asserts.NoError()
to not only check for nil but also in case of aT.Err()
instance to return no error - Same for
Asserts.ErrorMatch()
andAsserts.ErrorContains()
- Add
Asserts.OK()
as a simple alias forAsserts.True()
- Fix the public embedding of the Tester to Asserts
- Fix output of
Asserts.ErrorMatch()
- Extracted from Tideland Go Library as part of splitting the GoLib