Skip to content

Releases: programmfabrik/apitest

apitest-v1.40.0

12 Nov 07:55
Compare
Choose a tag to compare

Also add some code for json.Number interpretation, which is currently unused.

apitest-v1.30.0

08 Nov 08:32
b3d12df
Compare
Choose a tag to compare

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

04 Nov 09:21
Compare
Choose a tag to compare

Changelog

Support "header" as either String or Array

04 Nov 09:17
Compare
Choose a tag to compare

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

16 Jul 07:34
Compare
Choose a tag to compare

This version brings the new built-in SMTP server to test emails sent by an application.

apitest-v1.21.0

19 Jun 12:23
Compare
Choose a tag to compare

See README.md for more details.

apitest-v1.20.0

06 Jun 13:18
cd290ab
Compare
Choose a tag to compare
  • Fixed using backticks in Go templates when using tests loaded from a JSON array
  • Removed broken support for parallel execution

apitest-v1.16.0

06 Jun 10:34
Compare
Choose a tag to compare

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

26 Feb 15:33
Compare
Choose a tag to compare
  • 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

09 Nov 15:11
Compare
Choose a tag to compare

These 2 new functions can remove values from the query part of the url, or return a value from the query.