Closed rkarp closed 3 months ago
Binaries are not built by default with cargo test, unless there are integration tests to be executed, see: https://doc.rust-lang.org/cargo/commands/cargo-test.html#target-selection
cargo test
So the test was relying on previous binary builds (cargo build). Now it will always use an up to date binary since it's an integration test. See also: https://doc.rust-lang.org/rust-by-example/testing/integration_testing.html
cargo build
I didn't know about this. Cheers @rkarp!
Binaries are not built by default with
cargo test
, unless there are integration tests to be executed, see: https://doc.rust-lang.org/cargo/commands/cargo-test.html#target-selectionSo the test was relying on previous binary builds (
cargo build
). Now it will always use an up to date binary since it's an integration test. See also: https://doc.rust-lang.org/rust-by-example/testing/integration_testing.html