aboutsummaryrefslogtreecommitdiff
path: root/contrib/shunit2-2.0.3/doc/RELEASE_NOTES-2.0.3.txt
blob: 7e12684b67ff5111a2ed323406dfbeab72a88831 (plain)
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
RELEASE NOTES FOR 2.0.3

This release incorporates a realignment with the JUnit 4 code. Asserts now
provide better failure messages, and the failure functions no longer perform
tests.

See the CHANGES-2.0.txt file for a full list of changes.


TESTED PLATFORMS

This list of platforms comes from the latest version of log4sh as shUnit2 is
used in the testing of log4sh on each of these platforms.

Cygwin -- untested

Linux
- bash 3.2.13(1)
- dash 0.5.3
- ksh 1993-12-28
- pdksh 5.2.14

Mac OS X -- untested
Solaris 8 -- untested
Solaris 10 -- untested


NEW FEATURES

None.


CHANGES AND ENHANCEMENTS

The internal test in assertFalse() was changed so that any non-zero value is
considered false, rather than any only values equal to 1.

The assertTrue() and assertFalse() functions now accept an integer value for a
conditional test. A value of '0' is considered 'true', while any non-zero value
is considered 'false'.

Self-testing unit tests were added.


BUG FIXES

All asserts now properly unset their variables.


DEPRECATED FEATURES

None.


KNOWN BUGS AND ISSUES

Functions do not properly test for an invalid number of arguments.


vim:spell