SimpleMock.jl icon indicating copy to clipboard operation
SimpleMock.jl copied to clipboard

A basic mocking module

Results 5 SimpleMock.jl issues
Sort by recently updated
recently updated
newest added

Looks like some methods in julia and Cassette have changed and it breaks the functionality here: To reproduce: ``` julia> versioninfo() Julia Version 1.6.0-DEV.847 Commit 483b63780a (2020-09-05 18:19 UTC) Platform...

Here is all my thoughts about trying to support keyword arguments so that I don't go down the same rabbit hole more than once. Cassette doesn't really support overdubbing functions...

Function: mock

This has no effect on user API, but I think we can make things faster. Currently, we abuse `@eval` to create a new `Context` type and implement a bunch of...

Function: mock
performance

:man_shrugging: :man_shrugging: :man_shrugging: :man_shrugging: :man_shrugging: ```jl julia> using SimpleMock julia> using BenchmarkTools julia> f() = true f (generic function with 1 method) julia> g() = true g (generic function with...

Function: mock
performance

[CassetteOverlay.jl](https://github.com/JuliaDebug/CassetteOverlay.jl) is a newer package that does a subset of what Cassette does. In particular it only does the basic overdubbing. To do it, it uses alternative method tables. Which...