bash_unit
bash_unit copied to clipboard
bash unit testing enterprise edition framework for professionals
If you want to say something nice about bash_unit but can not think of a better place right now, just add a comment to this issue. If you want to...
I've just discovered bash_unit and it's great! However, I've a problem: how to manage stateful variables, which keep their value across tests? For instance, this isn't working: ```bash echo "Code...
When using quotes inside here doc in the context of _fake_, the quote will disappear from the output of the faked function. This is different from what is expected from...
I went through most of the shellcheck errors and warnings and tried to resolve them. Some are false alarms so I muted them with a special shellcheck comment.
A user reporting: I recently ran into some compatibility issues when trying to apply bash_unit on a system that only runs Bash 3 (on a SuSE 11 SP 4). I...
The TAP plan is missing at the beginning of the output See: http://testanything.org/tap-specification.html#the-plan If you agree with that I can work on a PR. I need this because the jenkins...
Should be possible to have a setup and teardown functions associated to each test function? AFAIK actually you have a setup function that is executed previously to each test and...
Hi! Is it possible to add a mechanism (how ever it looks like) to bash_utils to skip tests if condition is not fulfilled? Maybe something like this: ```bash skip_if "test_name"...
# Fix bash_unit - most shellcheck messages Fixes in bash_unit to compensate for most shellcheck message except some case where more analysis is needed.
# NEW Provide pre-commit hook This adds a pre-commit hook definition so that this repository can be easily used through pre-commit