Skip to content

Releases: sainsburys-tech/smockerclient

v1.7.0

Choose a tag to compare

@danielchurm danielchurm released this 01 May 09:50
c79559b

When creating a mock definition, context options can now also be passed. Currently only a call limit is offered by smocker.

What's Changed

New Contributors

Full Changelog: v1.6.0...v1.7.0

v1.6.0

Choose a tag to compare

@churmd churmd released this 08 Mar 15:24
4e62e1c

Update go mod version to 1.22

v1.5.0

Choose a tag to compare

@churmd churmd released this 08 Mar 14:47
9fbb1ac

When setting headers on request mocks, the key is now converted to use a canonical format which the Go standard library itself uses. This is to avoid confusion when seemingly valid mocks are not being matched, as Smocker is case-sensitive when matching header keys even though most developers expect it to be case-insensitive. See the github issue for the reasoning.

v1.4.0

Choose a tag to compare

@danielchurm danielchurm released this 15 Sep 14:07
846ab6a

Update Go version to 1.21.
Update go.mod dependencies.
Update github workflows.

v1.3.0

Choose a tag to compare

@churmd churmd released this 03 May 14:38
05409c0

Improved Instance struct so it can be initialised as a zero value or with values. Marked the NewInstance and DefaultInstance functions as Deprecated.

v1.2.0

Choose a tag to compare

@churmd churmd released this 03 May 14:02
1dabe56

Add function VerifyMocksInCurrentSession which checks all the mocks in the session have been called and that no other calls have been made

Update Go mod version to 1.20

Choose a tag to compare

@danielchurm danielchurm released this 08 Feb 14:29
b294de0

Update Go mod version to 1.20

v1.0.0

Choose a tag to compare

@danielchurm danielchurm released this 07 Sep 15:40

Initial release with basic functionality to create sessions and mocks on a smoker server