forked from perljedi/test-mock-wrapper
/
Changes
65 lines (36 loc) · 1.77 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Revision history for {{$dist->name}}
{{$NEXT}}
0.12 Mon Mar 23 2015
- Correct bug to method for finding correct version of a mock to use
when both conditional and default mocks specified.
- Allow use of object instance to limit conditional mocks
- Tests to exercise bugs found
0.11 Mon Mar 23 2015
- Fixed bug to getCallsTo for methods not explicitly mocked.
0.10 Mon Mar 23 2015
- Revamped addMock flow
0.09 Wed Mar 11 2015
- Added use strict and use warnings to verify sub packages
0.08 Tue Mar 10 2015
- Added import method to allow for compile time package mocking
0.07 Tue Mar 10 2015
- Allow mocked pacakges to capture calls to new.
- Added "resetAll" method.
- Update destrcutor to prevent internmitent failures in globabl destruction on objects created from mocked pacakge
0.06.1 Fri Mar 06 2015
- Updated package mocking stucture to allow mocks to pass moose type constraints when used in moose objects.
0.06 Thu Mar 05 2015
- Added support for immutable packages, and test for same.
0.05 Thu Mar 05 2015
- Refine returns to allow methods to return arrays
- Update pod so that version increments correctly
- Added documentation about package mocking
0.04 Wed Mar 04 2015
- Refined "resetCalls" to allow only history of specific methods to be clear.
- Added tests for "resetCalls"
- Added method "resetMocks" to reset the state of specified mock conditions, with tests for same.
0.03 Wed Mar 04 2015
- Added method "resetCalls" to allow clearing the call records. Useful if you use the same mock wrapper in multiple tests rather than creating a new on for each.
0.02 Wed Mar 04 2015
- Revampd package mocking algorithm to use metaclass. much more eligant than hacking on the symbol table directly.
0.001 Thu Feb 26 2015