The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
Revision history for Test-Mocha

0.19    2013-09-18
        Add inspect_all() function.
        Remove Exception::Tiny test dependency.
        Fix returns() and dies() when no arguments.

0.18    2013-09-13
        Fix tests for Perl versions older than 5.014 (operator precedence for
        bitwise '&').
        Make matcher_moose.t optional using Test::Requires.
        Stub executes() should be given mock $self as its first argument.

0.17    2013-09-10
        Set version dependency for Types::Standard to 0.008 when InstanceOf
        was introduced.

0.16    2013-09-04
        Fix for Perl versions older than 5.014 (s/// operator with /r switch).

0.15    2013-09-02
        Don't let AUTOLOAD() handle DESTROY().
        Added stubbing with callbacks.

0.14    2013-08-30
        Made inspect() public.
        Removed Moose and other dependencies.

0.13    2013-08-26
        Distribution fix (no modules provided)

0.12    2013-08-26
        Added support for using Type::Tiny type constraints as matchers.

0.11    2013-08-16
        Forked from Test-Magpie.
        Removed deprecated functions.
        Refined documentation.

0.10    2013-08-12
        Changed when->then_return to stub->returns.
        Changed stubbing behaviour to match Mockito.
         - The last stubbed response persists.
         - New stubs take precedence over oldder stubs.

0.09    2013-08-03
        Export main functions by default
        Add optional parameter $test_name to verify()

0.08    2013-07-22
        Fixed use of smartmatching and removed warnings
        Improved verify() print messages
        Added Mock::can() method

0.07    2013-07-15
        Deprecated at_least() and at_most() functions
        Added verify() options: at_least, at_most and between
        Added argument checks for public functions
        Added more comprehensive tests

0.06    2013-07-03
        Enable calling ref() on mock object to return a specified type