[Haskell] ANN: shelltestrunner 0.6 released

Simon Michael simon at joyful.com
Wed Jul 15 13:51:45 EDT 2009

I'm pleased to announce the first release of shelltestrunner: a small  
tool for testing any command-line program by running it through  
"shell" tests defined with a simple file format. Each test can specify  
the command-line arguments, input, expected output, expected stderr  
output, and/or expected exit code.

This was extracted from the hledger project, inspired by the tests in  
John Wiegley's ledger project, and uses Max Bolingbroke's test- 
framework. In some cases you will get a big speedup by using test- 
framework's parallelising feature.


$ shelltestrunner shelltestrunner *.test -- -j8
:args.test:1: [OK]
:args.test:2: [OK]
:args.test:3: [OK]
:args.test:4: [OK]
:early-j-option.test: [OK]
:help-flag.test: [OK]

I hope you find it useful. Feedback, patches, or alternate packaging  
suggestions are welcome!


More information about the Haskell mailing list