Skip to content

Commit af8ddba

Browse files
committed
doc: changelog, announce for 1.10
1 parent ee3cdb0 commit af8ddba

File tree

2 files changed

+47
-40
lines changed

2 files changed

+47
-40
lines changed

ANNOUNCE

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,42 @@
1-
I'm pleased to announce a new release of shelltestrunner!
2-
3-
shelltestrunner (executable: shelltest) is a portable
4-
command-line tool for testing command-line programs, or general shell
5-
commands, released under GPLv3+. It reads simple test specifications
6-
defining a command to run, some input, and the expected output,
7-
stderr, and exit status. It can run tests in parallel, selectively,
8-
with a timeout, in color, etc.
9-
Projects using it include hledger, Agda, and berp.
10-
11-
The last release was 1.3.5, in 2015. The new version is 1.9, which
12-
has substantial improvements and is recommended for all users.
13-
More real-world testing and contributions will help us deliver 2.0.
14-
15-
New in 1.9 (2018/1/14):
16-
17-
* two new test file formats, allowing input re-use and lighter syntax
18-
* new -l/--list flag lists the tests found
19-
* new -D/--defmacro option allows text substitution (Taavi Valjaots)
20-
* new --xmlout option saves test results as xml (Taavi Valjaots)
21-
* tests with Windows line endings now also work on unix (Taavi Valjaots)
22-
* shelltestrunner's tests should now pass on Windows (Taavi Valjaots)
23-
* flags formerly passed through to test-framework are now built in
24-
* >>>= with nothing after it now matches any exit status
25-
* failure messages now show the test command (John Chee)
26-
* include shelltestrunner's tests in cabal sdist archive (Iustin Pop)
27-
* build with latest deps and stackage resolvers
28-
* shelltestrunner's code and home page have moved to github
29-
30-
Thanks to release contributors Taavi Valjaots, Andrés Sicard-Ramírez,
31-
Iustin Pop and John Chee.
1+
I'm pleased to announce shelltestrunner 1.10 !
2+
3+
shelltestrunner (executable: `shelltest`) is a portable, GPLv3+
4+
command-line tool for testing command-line programs or shell commands.
5+
It reads simple test specifications defining a command to run, some
6+
input, and the expected output, stderr, and exit status.
7+
It can run tests in parallel, selectively, with a timeout, in color, etc.
8+
9+
The last release was 1.9, in 2018. The 1.10 release has been overdue;
10+
it brings some useful improvements, notably --print mode (with which
11+
you can convert old format 1 tests to the cleaner, recommended format 3),
12+
and precise line number reporting (to quickly locate the failing test).
13+
14+
User-visible changes in 1.10 (2023-09-12):
15+
16+
* GHC 9.6 compatibility (Andreas Abel)
17+
* Add --print for printing tests and/or converting file format (#24, Jakob Schöttl)
18+
* Add --shell option to select shell (#17, FC Stegerman)
19+
* Fix format1's handling of angle brackets in test data (#16)
20+
* Print test line number on failure (#14, Taavi Väljaots)
21+
* Add -p short flag for --precise
22+
* -h means --help, not --hide-successes
23+
* Clarify 300 char regex limit message
24+
25+
Other changes:
26+
27+
* Set up CI testing (#18 FC Stegerman, Simon Michael)
28+
* Improve bash-related tests (#20, FC Stegerman, Simon Michael)
29+
* Improved tests
30+
31+
Thanks to release contributors:
32+
Jakob Schöttl, Taavi Väljaots, Felix C. Stegerman, and Andreas Abel.
3233

3334
Install:
3435

35-
$ stack install shelltestrunner-1.9
36+
$ stack install shelltestrunner-1.10
3637

3738
or:
3839

39-
$ cabal update && cabal install shelltestrunner-1.9
40+
$ cabal update && cabal install shelltestrunner-1.10
4041

41-
Home, docs: https://github.com/simonmichael/shelltestrunner
42+
Home: https://github.com/simonmichael/shelltestrunner

CHANGES

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
1.10 (unreleased)
1+
1.10 (2023-09-12)
22

3-
* Add --print for printing tests/converting file format (#24, Jakob Schöttl)
4-
* Improve bash-related tests (#20, FC Stegerman, Simon Michael)
5-
* Set up CI testing (#18 FC Stegerman, Simon Michael)
3+
User-visible changes:
4+
5+
* GHC 9.6 compatibility (Andreas Abel)
6+
* Add --print for printing tests and/or converting file format (#24, Jakob Schöttl)
7+
* Print test line number on failure (#14, Taavi Väljaots)
68
* Add --shell option to select shell (#17, FC Stegerman)
79
* Fix format1's handling of angle brackets in test data (#16)
8-
* Print test line number on failure (#14, Taavi Valjaots)
910
* Add -p short flag for --precise
1011
* -h means --help, not --hide-successes
1112
* Clarify 300 char regex limit message
12-
* Improve tests
13+
14+
Other:
15+
16+
* Set up CI testing (#18 FC Stegerman, Simon Michael)
17+
* Improve bash-related tests (#20, FC Stegerman, Simon Michael)
18+
* Improved tests
1319

1420
1.9 (2018/1/14)
1521

0 commit comments

Comments
 (0)