aboutsummaryrefslogtreecommitdiff
path: root/contrib/shunit2-2.0.3/doc/CHANGES-2.0.txt
blob: 97ea3db2d1cb362a2ad22072aad2dd384c4c5bb2 (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
61
62
63
64
65
66
67
68
CHANGES WITH 2.0.4

Unset additional variables that were missed.

Fixed off-by-one in exit value for scripts caught by the trap handler.

The library did not fail gracefully when the 'od' command was not installed.


CHANGES WITH 2.0.3

Back ported the Makefile from 2.1.1pre that included changes to the
docs-docbook-prep target.

Changed the test in assertFalse() so that any non-zero value registers as
false. (Credits to Bryan Larsen)

Updated the testPartyLikeItIs1999() function in the Quick Start documentation.
The 'expected' and 'actual' values were swapped. (Credits to Richard Jensen)

It was pointed out that the simple 'failed' message for a failed assert was not
only insufficient, it was nonstandard (when compared to JUnit) and didn't
provide the user with an expected vs actual result. The code was revised
somewhat to bring closer into alignment with JUnit (v4.3.1 specifically) so
that it feels more "normal". (Credits to Richard Jensen)

As part of the JUnit realignment, it was noticed that fail*() functions in
JUnit don't actually do any comparisons themselves. They only generate a
failure message. Updated the code to match.

Added self-testing unit tests. Kinda horkey, but they did find bugs during the
JUnit realignment.

Fixed the code for returning from asserts as the return was being called before
the unsetting of variables occurred. (Credits to Mathias Goldau)

The assert(True|False)() 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'.

All public functions now fill use default values to work properly with the '-x'
shell debugging flag.

Fixed the method of percent calculation for the report to get achieve better
accuracy.


CHANGES WITH 2.0.2

Fixed problem with fail(). The failure message was not properly printed.

Reworked the Makefile so that the DocBook XML and XSLT files are properly
downloaded before parsing can continue.


CHANGES WITH 2.0.1

Fixed some really stupid mistakes with the fail* functions. They were doing the
exact opposite of what they were supposed to be doing.


CHANGES WITH 2.0.0

Made the first stand-alone release!


$Revision$
vim:spell