++ed by:
POTATOGIM STEVEB
2 non-PAUSE users
Author image Steve Bertrand

Changes for version 1.09 - 2017-12-28

  • setting a return_value or side_effect when mocking one sub doesn't affect any other subs mocked (fixes #25)
  • params passed into a mocked sub will only be returned if return_value is set to "params" (closes #26)

Modules

Mock package, object and standard subroutines, with unit testing in mind.
Provides for Mock::Sub