assert.sh icon indicating copy to clipboard operation
assert.sh copied to clipboard

bash unit testing framework

Results 17 assert.sh issues
Sort by recently updated
recently updated
newest added

When writing turly portable shell scripts, one would resort to use the POSIX compatible subset, `sh`. However, the `assert.sh` script uses some *bashisms*, so it will not work in POSIX-compatible...

Could you give any advice on how to test stderr? E.g. for `assert_raises` I'd love to assert on some expected error message.

Is this project still maintained and stable? Last commit on `master` branch was 10 months ago and build on Travis CI failing from that time. I would like to use...

When running with `set -o nounset`, the `assert()` and `assert_raises()` functions failed if no stdin value was provided.

I add some doc lines, but CI tell me that build failed. (https://github.com/lehmannro/assert.sh/pull/21) Which state of this project? Is it supported?

Further to my comment in Issue #10 I've created a contender for what assert-extras.sh may look like, at least as a starting point. I've also backed it with a new...

[tap-function](http://testanything.org/wiki/index.php/Tap-functions)'s link in the [Related Projects](https://github.com/lehmannro/assert.sh#related-projects) does no longer work.

Is it possible to implement a mode which makes any unit test fail if it outputs anything to standard error or has an exit code different from 0? An excellent...