-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Collecting feedback or assert_fs. Please post even if you think it might not be needed for 1.0 so we can try to get the big picture of uses, challenges, etc. We're also looking at including experience reports in the 1.0 announcement blog post.
Preferably, please update to the latest version first but don't let upgrading stop you from providing feedback
To help spur feedback, consider these questions
- Why do you use this crate?
- Why don't you use it more?
- How does this crate fit into your testing strategy?
- Is there anything that feels out of place / not rust-like?
- Are there common patterns you implement on top of this crate (e.g. fixture setup or assertions we don't support)?
Also, if your programs deals with the file system, please provide feedback on assert_fs. Even if you don't use it, I want to know why.
Summary
Areas to improve
- Improve overview / introduction in README / docs.rs #76 Improve overview / introduction in README / docs.rs
- Highlight Assert::get_output in docs #75 Highlight Assert::get_output in docs
stdin
handling is an unfriendly API #73stdin
handling is an unfriendly API
Successes
fitzgen
assert_cmd is just such a pleasure to use every single time, I fall in love all over again
bravo bravo WG-cli
Running commands and dealing with output can be complex in many many ways, so assert_cmd smoothing that is excellent, very much welcome, and improves ergonomics significantly.
I have used [assert_cmd] in other projects and I am extremely pleased with it
[assert_cmd] pretty much IS my testing strategy so far, though my app under test is pretty small.
This library has made it really easy to add some test coverage to my project, even when I am just learning how to write Rust!