A flexible Bash test framework