|
Packit |
11f908 |
Revision history for Test::MockModule
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.13
|
|
Packit |
11f908 |
- Added the `redefine()` function. It works just like `mock()`, except if the
|
|
Packit |
11f908 |
method being mocked doesn't exist, it causes a panic. Many thanks to Felipe
|
|
Packit |
11f908 |
Gasper for this feature!
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.12
|
|
Packit |
11f908 |
- Added the `noop()` function to make mocking noops easier. Thanks for the PR,
|
|
Packit |
11f908 |
Ali Zia!
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.11 2016-10-27
|
|
Packit |
11f908 |
- Various housekeeping, testing and minor fixes, courtesy of Paul Cochrane, thanks!
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.10 2015-05-30
|
|
Packit |
11f908 |
- Updated docs for mocking when using exported functions
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.09 2015-03-15
|
|
Packit |
11f908 |
- Ensure LICENSE autogenerates for distribution, fixed license issues in Build.PL
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.08 2015-03-14
|
|
Packit |
11f908 |
- Updated README with correct instructions now that we use Build.PL
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.07 2015-03-14
|
|
Packit |
11f908 |
- Updated docs for more clarity when handling objects of mocked classes.
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.06 2015-03-07
|
|
Packit |
11f908 |
- unmock() on inherited subroutines will dispatch to the parent module,
|
|
Packit |
11f908 |
rather than replace the local subroutine with the parent's subroutine
|
|
Packit |
11f908 |
from the time of mocking (RT77439)
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.05 2004-03-24
|
|
Packit |
11f908 |
- unmock() accepts a list of subroutines to unmock. Thanks to David Wheeler
|
|
Packit |
11f908 |
for the suggestion and patch
|
|
Packit |
11f908 |
- Added t/pod_coverage.t
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.04 2004-12-12
|
|
Packit |
11f908 |
- You can now mock a subroutine with a scalar value or a reference
|
|
Packit |
11f908 |
(install sub that returns the value). Thanks to Ovid for the suggestion.
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.03 2004-12-05
|
|
Packit |
11f908 |
- Restores subs/methods that previously didn't exist (undefine them)
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.02 2004-11-28
|
|
Packit |
11f908 |
- Fixed restoring inherited methods
|
|
Packit |
11f908 |
|
|
Packit |
11f908 |
v0.01 2004-11-28
|
|
Packit |
11f908 |
- Initial revision
|