facebookincubator / fastmod

A fast partial replacement for the codemod tool
Apache License 2.0
1.68k stars 42 forks source link

All tests with Command::cargo_bin() fail when just running "cargo test" #41

Open assarbad opened 1 year ago

assarbad commented 1 year ago

If you haven't built fastmod using cargo build, seven out of the thirteen tests fail. Those are all the tests that invoke Command::cargo_bin().

I'll look into this more closely and hope there is a way to express that the binary needs to be built prior to running cargo test within the Cargo.toml, because even if the idea is that fastmod be run, it probably implies that the latest version ought to be run.