mrackwitz / CLIntegracon

Integration specs for your CLI
MIT License
12 stars 4 forks source link

Allow tests for failing commands with Bacon adapter #7

Open mrackwitz opened 9 years ago

mrackwitz commented 9 years ago

It could make sense to allow tests for failing statuses: that some side-effects have already happened even when an error appears (i.e. writing some log files), that no incomplete modifications to the file system happened, non-applicable modifications are rolled-back, or that the failure of the command appears with a specific execution output.

mrackwitz commented 8 years ago

Might conflict with #18.

segiddins commented 8 years ago

Once this support is added, we could always flip #18 to be status.success? == expected_success or something

mrackwitz commented 8 years ago

Yup, that's true. Just pointing out here for future reference.