I'm currently in the process of putting together a first version of bash-specs, a Bash testing framework which provides features found in other languages' test frameworks, like
- a DSL for describing specifications
- the ability to mock functions and commands
- detailed, human-readable output
You can find some sample-tests in the spec/ folder (bash-specs eats its own dog food by testing itself ;)).
Dokumentation is lacking and the mocking is currently broken but both will be fixed within the next days.
https://github.com/helpermethod/bash-specs/