bmizerany/roundup — pull request #12 by sttts (2012-06-27 12:05:08+00:00)
Title: Output return code, assumptions and before function tracing

Hi, I have added the following three features to roundup:

- output return code of last command when a test fails, e.g.

false => 1

- assumption support, i.e. depend on success of previous testcases:

it_has_passwd () {
test -f /etc/passwd
}
it_has_user_xyz () {
assume it_has_passwd
grep xyz /etc/passwd
}

If the first test fails, the second is not executed, but only marked as skipped.

- print trace of before function on error