rust-cli / book

Documentation on how to use the Rust Programming Language to develop commandline applications
https://rust-cli.github.io/book/index.html
MIT License
816 stars 108 forks source link

Testing section - cargo_bin no longer available #211

Closed alensiljak closed 1 year ago

alensiljak commented 1 year ago

The Testing section, example with file_doesnt_exist() function, uses Command::cargo_bin() method, which seems to no longer be there. Could the example(s) be updated with what is the recommended way to run the CLI apps from tests?

Thanks!!!

alensiljak commented 1 year ago

Oh, these are available in separate crates.