If you run engineering or quality at scale, you've sat in that room where you know the testing worked exactly as designed, ...
bash_unit allows you to write unit tests (functions starting with test), run them and, in case of failure, displays the stack trace with source file and line number indications to locate the problem.