Debian Codegraph @

Changes

raw
1 Revision history for Test-ExpectAndCheck
2
3 0.08 2026-01-01
4 [CHANGES]
5 * Optionally allow mock objects to claim to be instances of given
6 classes
7 * Treat "\r" as escapeable plain text when rendering argument strings
8
9 0.07 2024-10-13
10 [CHANGES]
11 * Added `namedargs()` helper for dealing with methods that take named
12 arguments in maybe-unreliable orders due to hash order randomisation
13 * Added optional VERBOSE debugging mode
14
15 0.06 2023-10-17
16 [CHANGES]
17 * Ensure that the callback in `->will_return_using` can modify caller
18 arguments if necessary for successfully mocking mutator functions
19 * Various module style updates:
20 + use Perl 5.14
21 + swap unit tests to Test2::V0
22
23 0.05 2022-10-07
24 [CHANGES]
25 * Added `->whenever` for creating stub helper methods that assist the
26 code-under-test
27 * Added `->will_return_using` for dynamic result creation
28 * Added `$exp->indefinitely` for whenever expectations that outlive
29 calls to `->check_and_clear`
30
31 0.04 2022-10-04
32 [CHANGES]
33 * Added entire new set of `->will_*` API methods, deprecating also
34 the previous set
35 * Added new `->will_also` and `->will_also_later` methods
36
37 0.03 2021-07-14
38 [CHANGES]
39 * Print more detailed error message on expectation failure to give
40 details about what the next expectation was
41 * Set @CARP_NOT to get slightly better call location reporting
42 * Added ->remains_pending method to allow returned futures to not
43 complete at all
44
45 [BUGFIXES]
46 * Fix printable-or-not detection logic so it applies to all bytes
47 * Handle `undef` correctly in stringification logic
48
49 0.02 2021-01-02
50 [CHANGES]
51 * Return deferred futures by default
52 * Added ->immediately method to make some returns immediate
53
54 0.01 2020-11-25
55 First version, released on an unsuspecting world.