File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 3333//! [tempfile]: https://crates.io/crates/tempfile
3434//! [duct]: https://crates.io/crates/duct
3535//! [assert_fs]: https://crates.io/crates/assert_fs
36+ //!
37+ //! ## Migrating from `assert_cli` v0.6
38+ //!
39+ //! `assert_cli` is the successor to `assert_cli`:
40+ //! - More flexible, reusable assertions (also used by `assert_fs`).
41+ //! - Can integrate with other process-management crates, like `duct`.
42+ //! - Addresses several architectural problems.
43+ //!
44+ //! Key points in migrating from `assert_cli`:
45+ //! - `std::prcoess::Command` is extended with traits rather than being wrapping in custom logic.
46+ //! - The command-under-test is run eagerly, with assertions happening immediately.
47+ //! - `success()` is not implicit and requires being explicitly called.
48+ //! - `stdout`/`stderr` aren't automatically trimmed before being passed to the `Predicate`.
3649
3750#![ warn( missing_docs) ]
3851
You can’t perform that action at this time.
0 commit comments