The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 2 - 2018-03-19

  • fix problems with static mocks
  • clean up project
  • remove deprecated methods
  • use everywhere Error in order to get the Error stack
  • allow mock of static methods
  • fix critic (brutal)
  • add Example section
  • fix (and add) some typos
  • fix another number bug
  • improve error output
  • fix Issue #31 remove deprecated methods
  • fix Issue #10 sample project

Modules

minimal mocking framework for perl
To define parameter matchers
chained setup
To define return values
injection options for your System under test (Sut) based on Mockify
To verify mock interactions

Provides

in lib/Test/Mockify/MethodCallCounter.pm
in lib/Test/Mockify/MethodSpy.pm
in lib/Test/Mockify/Parameter.pm
in lib/Test/Mockify/Tools.pm
in lib/Test/Mockify/TypeTests.pm