SimpleMock.jl
SimpleMock.jl copied to clipboard
A basic mocking module
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...
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...
: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...
[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...