forked from coryb/perl-test-trivial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGES
93 lines (73 loc) · 2.25 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
====================== CHANGELOG ======================
Version 1.7
- Fix licence as per Module::Build::API - Sandip Bhattacharya
Version 1.6_01
- minor doc change
- update t/isa.t for older perl
Version 1.6
- added perldoc documentation
Version 1.5.6
- guard against someone tweaking $/
Version 1.5.5
- fix potential infinate loop in text_to_line
Version 1.5.4
- fix IS diagnostics for strings without newlines
Version 1.5.3
- remove "TRY" filter, too confusing to use
- add ERR helper routine to capture exceptions
- add ISA check to check inheritance of an object
Version 1.5.2
- fix warning:
Ambiguous use of *{Test::More::_format_stack} resolved to *Test::More::_format_stack
Version 1.5.1
- add --log option to log verbose output to file
- if TEST_TRIVIAL_LOG env variable set log verbose
output to file
Version 1.5.0
- use Text::Diff for multiline diffs
- add --diff option to change diff format
- add diff => $type module option to change diff format
Version 1.4.0
- fixed issue with linebreaks in tests below;
- add "TRY" as a stand alone keyword so it can
be used as TRY OK, TRY IS etc.
- add "TODO" keyword like TRY to support test cases known to fail;
Version 1.3.0
- allow linebreaks in line so this will work:
IS "abc123"
=>
"abc123";
Version 1.2.0
- adding TRYOK and TRYNOK to wrap tests in try/otherwise block
(via Filter::Simple)
Version 1.1.1
- change messaging for NOK to prepend "not"
Version 1.1.0
- adding NOK routine (ie Not OK)
- adding --verbose default option
Version 1.0.5
- add $Test::Trivial::LEVEL so that calling code can define a
sub like so:
sub SUCCESS {
local $Test::Trivial::LEVEL = $Test::Trivial::LEVEL + 1;
warn "I'm success";
OK(@_);
}
then call it SUCCESS("life is good" == "life is good");
and Test::Trivial will produce OK - "life is good" == "life is
good", rather than OK - OK(@_);
Version 1.0.4
- added ID to be synonym or EQ
- added --fatal option
Version 1.0.3
* fixed bogus "test X Failed" on IS when comparing
data structures.
Version 1.0.2
* IS now calls is_deeply so you can quickly compare data
complete structures
* added "EQ" which is simlar to IS but will not
recurse data structures if args are pointers
Version 1.0.1
* Fixed package dependencies
Version 1.0.0
* Initial release