Releases: r-lib/mockery
Releases · r-lib/mockery
mockery 0.4.4
mockery 0.4.3
-
Hadley Wickham is now the maintainer.
-
stub()
now unlocks/relocks locked bindings as required (@sambrightman, #30).
mockery 0.4.2
-
The R6 package has been added to Suggests, as requested by CRAN.
-
stub()
now works if the function being stubbed contains assignment functions (@jimhester, #23).
v0.4.1
Fix bug relating to not stubbing out functions in functions that begin with a dot (e.g. .onLoad
).
0.4.0
Improve R6 support; add option for stubbing depth
version 0.3.0
Add support for R6 methods and classes.
Add support for mocking namespaced functions from the test environment.
Remove deprecated expect_called
function.
Rename expect_no_calls
method on mock object to expect_called
.
First CRAN submission
The first complete implementation of our few mocking ideas.