|
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. |
32 | 33 |
|
33 | 34 | Install: |
34 | 35 |
|
35 | | -$ stack install shelltestrunner-1.9 |
| 36 | +$ stack install shelltestrunner-1.10 |
36 | 37 |
|
37 | 38 | or: |
38 | 39 |
|
39 | | -$ cabal update && cabal install shelltestrunner-1.9 |
| 40 | +$ cabal update && cabal install shelltestrunner-1.10 |
40 | 41 |
|
41 | | -Home, docs: https://github.com/simonmichael/shelltestrunner |
| 42 | +Home: https://github.com/simonmichael/shelltestrunner |
0 commit comments