Releases: programmfabrik/apitest
apitest-v1.40.0
Also add some code for json.Number interpretation, which is currently unused.
apitest-v1.30.0
The library to parse json trees is called gjson. Unfortunately we mistyped this from the beginning as qjson. This release brings the rename to gjson. This is a breaking change, so make sure to replace this in your apitests.
apitest-v1.23.1
Changelog
Support "header" as either String or Array
This improves the support for "header". Now you can use either an Array or a String when sending a request or matching a response. ":control" structures in "header" are checked against the String version of the Header.
apitest-v1.22.0
This version brings the new built-in SMTP server to test emails sent by an application.
apitest-v1.21.0
See README.md for more details.
apitest-v1.20.0
- Fixed using backticks in Go templates when using tests loaded from a JSON array
- Removed broken support for parallel execution
apitest-v1.16.0
Fixed an issue with responses where a :control
is used to compare array items. In such a case, multiple matches against one array would never fail if the last item in that array did not contain a :control
item.
Full Changelog: v1.15.0...v1.16.0
apitest-v1.15.0
- Fixed reading responses with huge JSON numbers. Before this would produce an error "cannot unmarshal ... into Go value of type float64".
Full Changelog: v1.14.0...v1.15.0
apitest-v1.14.0
These 2 new functions can remove values from the query part of the url, or return a value from the query.