Skip to content

Releases: JuliaTesting/SimpleMock.jl

v1.2.1

23 Jan 05:05
00d6e5c
Compare
Choose a tag to compare

SimpleMock v1.2.1

Diff since v1.2.0

Fix for some internal Julia 1.7 changes (#17).

Merged pull requests:

v1.2.0

06 Nov 02:40
4ee3c0d
Compare
Choose a tag to compare

SimpleMock v1.2.0

Diff since v1.1.4

You can now do "fuzzy" call argument matching with the new Predicate type.

Closed issues:

  • "Fuzzy" call matching (#14)

Merged pull requests:

v1.1.4

21 Apr 04:03
f9de03c
Compare
Choose a tag to compare

SimpleMock v1.1.4

Diff since v1.1.3

Slight performance boost thanks to a fixed Cassette bug.

v1.1.3

20 Apr 19:03
b5dc724
Compare
Choose a tag to compare

SimpleMock v1.1.3

Diff since v1.1.2

Make a version check static for hopefully a small performance boost.

v1.1.2

20 Apr 19:03
1eb88df
Compare
Choose a tag to compare

SimpleMock v1.1.2

Diff since v1.1.1

SimpleMock now works fully again on Julia 1.4!

Merged pull requests:

v1.1.1

10 Jan 11:03
b1a8142
Compare
Choose a tag to compare

SimpleMock v1.1.1

Diff since v1.1.0

No code changes. Cassette compatibility has been updated to include the new 0.3 release.

v1.1.0

18 Dec 05:02
72b236e
Compare
Choose a tag to compare

Two new functions have been added to access a Mock's last call:

  • last_call returns the most recent call as a Call
  • called_last_with behaves the same as called_with, but only checks the most recent call

v1.0.3

16 Dec 05:02
59d6700
Compare
Choose a tag to compare

No code changes, but the documentation has been updated to Documenter 0.24.

v1.0.2

28 Nov 09:07
5278ac8
Compare
Choose a tag to compare

v1.0.2 (2019-11-28)

Diff since v1.0.1

Merged pull requests:

  • Fixed typo in mock(+) docs: p -> plus (#8) (NHDaly)

v1.0.1

29 Oct 03:02
v1.0.1
d6b3e13
Compare
Choose a tag to compare

Two minor improvements:

  • Custom context names can now be anything. Previously, any name that already existed in the SimpleMock module such as :mock would cause a confusing error.
  • Tracking of function calls is now more accurate for functions that are called with keywords. For example, if f(; x) calls g(x), then the current function from g is now the expected f instead of the very non-intuitive getfield(Main, Symbol("#kw##f")).