We have a system that has some bash scripts running besides Java code. Since we are trying to Test Everything That Could Possibly Break, and those bash scripts may break, we
I created shellspec because I wanted a easy-to-use and useful tool.
It written by pure POSIX shell script. It has tested with many shells more than shunit2. It has powerful features than bats/bats-core.
For example, support nested block, easy to mock/stub, easy to skip/pending, parameterized tests, assertion line number, execute by line number, parallel execution, random execution, TAP/JUnit formatter, coverage and CI integration, profiler and etc.
See the demo on the project page.