Tags: azriel91/assert_cli
Tags
Release 0.5.0 This release includes - Changing output asserts - `.prints` -> `.stdout().contains` - `.prints_exactly` -> `.stdout().is` - `.prints_error` -> `.stderr().contains` - `.prints_error_exactly` -> `.stderr().is` - Add negative output assertions - `.stdout().isnt` - `.stdout().doesnt_contain` - Output assertions are now anded together rather than replacing each other.
Auto merge of assert-rs#7 - Lindenk:ignore_output, r=killercup Option to ignore output Fixes assert-rs#6. I was thinking about whether to implement it as interpreting an empty string as matching any output, but I can see how many situations might call for explicitly expecting a command not to output (such as when testing a quiet mode). Is this alright? Also, I think fuzzy matching should be a new issue. It would be a much different of an implementation than assert-rs#6.
Auto merge of assert-rs#5 - killercup:feature/apache+mit, r=killercup Feature/apache+mit
PreviousNext