shelltestrunner icon indicating copy to clipboard operation
shelltestrunner copied to clipboard

Easy, repeatable testing of CLI programs/commands

Results 11 shelltestrunner issues
Sort by recently updated
recently updated
newest added

When testing this, it matches: ``` # test multiline matches $ echo -e "Line 1 blabla\nLine 2 haha\nLine 3 hihihi" > /.*Line 1.*/ >= 0 ``` but when testing this,...

bug

When I develop executables as part of a Haskell project, I have to do and repeat some manual tests to ensure that the executable behaviour is correct (e.g. status code,...

wish

I'm doing a test which needs to take the output of one command as an input for the next. Short of using temporary files I have no way of achieving...

wish

Closes #21 ## CLI proposal ``` Print test file: --print[=FORMAT] Print test files in specified format (default: v3). [deferred:] --actual[=MODE] Combined with --print, print test files with actual results (stdout,...

@simonmichael does anything speak against hspec as alternative test framework? ### Downsides: - three more dependencies (hspec, hspec-core, hspec-contrib) - a bit more complex argument handling or a different way...

A new release has been stalled for a while, mainly because I'm not sure how good the proposed new file formats are. Here's the old [format 1](https://github.com/simonmichael/shelltestrunner/blob/master/tests.format1/format1.test). I wanted to...

enhancement
help wanted

Hi, I think it would be great to have an option `--print-test-file-with-output` which would print the test file together with the actual output, e.g.: Running: ```sh cat bar $ false...

wish

--print is working, but seems sometimes slower than it should be. Just noting it here in case anyone (like @schoettl) wants to investigate, before I do a release in the...

bug

Are there any binary distributions available for download? I'm asking mostly for Windows here, since Linux distros seem covered. Just to make it easier to retrieve.

wish

The following test works: ```bash $ shelltest --version shelltest 1.10 ``` ``` < $ echo \#t > #t >2 >= 0 ``` but the version with delimiters omitted does not...