[Haskell-cafe] ANN: shelltestrunner 0.8 released

Simon Michael simon at joyful.com
Fri Apr 9 19:47:36 EDT 2010

I'm pleased to announce a new release of shelltestrunner, a tool which  
aims to make testing command-line programs easy. Thanks to Bernie Pope  
for contributing features and valuable feedback.


$ cabal install shelltestrunner
$ cat - >a.test
# a simple test - run cat, provide stdin, check stdout
1 2
1 2
$ shelltest a.test
a.test: [OK]

          Test Cases  Total
  Passed  1           1
  Failed  0           0
  Total   1           1

Release notes:

2010/4/9 0.8

   * rename executable to shelltest. The package might also be renamed  
at some point.

   * better built-in help

   * shell tests now include a full command line, making them more  
     and self-contained. The --with option can be used to replace the  
     word with something else, unless the test command line begins  
with a

   * we also accept directory arguments, searching for test files below
     them, with two new options:
       --execdir        execute tested command in same directory as  
test file
       --extension=EXT  file extension of test files (default=.test)

home: http://hackage.haskell.org/package/shelltestrunner
repo: http://joyful.com/repos/shelltestrunner

More information about the Haskell-Cafe mailing list