File tree Expand file tree Collapse file tree 2 files changed +58
-2
lines changed Expand file tree Collapse file tree 2 files changed +58
-2
lines changed Original file line number Diff line number Diff line change 1+ # shUnit2 2.1.8 Release Notes
2+
3+ https://github.com/kward/shunit2
4+
5+ This release contains bug fixes and enhancements. See the ` CHANGES-2.1.md ` file
6+ for a full list of changes.
7+
8+ ## New features
9+
10+ Users can now define a custom prefix for test function names. The prefix can be
11+ configured by defining a ` SHUNIT_TEST_PREFIX ` variable.
12+
13+ ## Bug fixes
14+
15+ Syntax errors in functions are now treated as test failures.
16+
17+ Test now fail when ` setup() ` or ` tearDown() ` fail.
18+
19+ ## Deprecated features
20+
21+ None.
22+
23+ ## Known bugs and issues
24+
25+ Zsh requires the ` shwordsplit ` option to be set. See the documentation for examples of how to do this.
26+
27+ Line numbers in assert messages do not work properly with BASH 2.x.
28+
29+ The Bourne shell of Solaris, BASH 2.x, and Zsh 3.0.x do not properly catch the
30+ SIGTERM signal. As such, shell interpreter failures due to such things as
31+ unbound variables cannot be caught. (See ` shunit_test_misc.sh ` )
32+
33+ shUnit2 does not work when the ` -e ` shell option is set (typically done with
34+ ` set -e ` ).
35+
36+ ## Tested platforms
37+
38+ Continuous integration testing is provided by
39+ [ Travis CI] ( https://travis-ci.org/ ) .
40+
41+ https://travis-ci.org/github/kward/shunit2
42+
43+ Tested OSes:
44+
45+ - Linux
46+ - macOS
47+
48+ Tested shells:
49+
50+ - /bin/sh
51+ - ash
52+ - bash
53+ - dash
54+ - ksh
55+ - pdksh
56+ - zsh
Original file line number Diff line number Diff line change 11#! /bin/sh
22# vim:et:ft=sh:sts=2:sw=2
33#
4- # Copyright 2008-2019 Kate Ward. All Rights Reserved.
4+ # Copyright 2008-2020 Kate Ward. All Rights Reserved.
55# Released under the Apache 2.0 license.
66# http://www.apache.org/licenses/LICENSE-2.0
77#
2020
2121# Return if shunit2 already loaded.
2222command [ -n " ${SHUNIT_VERSION:- } " ] && exit 0
23- SHUNIT_VERSION=' 2.1.8pre '
23+ SHUNIT_VERSION=' 2.1.8 '
2424
2525# Return values that scripts can use.
2626SHUNIT_TRUE=0
You can’t perform that action at this time.
0 commit comments