Skip to content

Releases: r-lib/mockery

mockery 0.4.4

27 Sep 12:19
Compare
Choose a tag to compare
  • Fixes for R CMD check

mockery 0.4.3

20 Feb 13:24
Compare
Choose a tag to compare
  • Hadley Wickham is now the maintainer.

  • stub() now unlocks/relocks locked bindings as required (@sambrightman, #30).

mockery 0.4.2

03 Apr 13:21
Compare
Choose a tag to compare
  • 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

10 Nov 23:07
Compare
Choose a tag to compare

Fix bug relating to not stubbing out functions in functions that begin with a dot (e.g. .onLoad).

0.4.0

07 Nov 17:23
deee078
Compare
Choose a tag to compare

Improve R6 support; add option for stubbing depth

version 0.3.0

14 Dec 15:16
Compare
Choose a tag to compare

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

10 Nov 23:53
Compare
Choose a tag to compare

The first complete implementation of our few mocking ideas.