Releases: JuliaTesting/SimpleMock.jl
Releases · JuliaTesting/SimpleMock.jl
v1.2.1
SimpleMock v1.2.1
Fix for some internal Julia 1.7 changes (#17).
Merged pull requests:
- Fix Vararg handling on v1.7+ (#17) (@christopher-dG)
v1.2.0
SimpleMock v1.2.0
You can now do "fuzzy" call argument matching with the new Predicate
type.
Closed issues:
- "Fuzzy" call matching (#14)
Merged pull requests:
- Add predicates for call argument matching (#15) (@christopher-dG)
v1.1.4
v1.1.3
SimpleMock v1.1.3
Make a version check static for hopefully a small performance boost.
v1.1.2
SimpleMock v1.1.2
SimpleMock now works fully again on Julia 1.4!
Merged pull requests:
- Fix keyword handling on 1.4 (#11) (@christopher-dG)
v1.1.1
SimpleMock v1.1.1
No code changes. Cassette compatibility has been updated to include the new 0.3
release.
v1.1.0
Two new functions have been added to access a Mock
's last call:
last_call
returns the most recent call as aCall
called_last_with
behaves the same ascalled_with
, but only checks the most recent call
v1.0.3
No code changes, but the documentation has been updated to Documenter 0.24.
v1.0.2
v1.0.2 (2019-11-28)
Merged pull requests:
v1.0.1
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)
callsg(x)
, then the current function fromg
is now the expectedf
instead of the very non-intuitivegetfield(Main, Symbol("#kw##f"))
.