followup question if you build and test: what's an example of a situation where the tests succeed but the build fails? (that is, why isn't just cargo test enough?)
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
cargo build && cargo test && cargo doc
-
so what does cargo build get you, exactly?
- 3 more replies
New conversation -
-
-
"whatever is in the travis template I copied years ago"
-
yeah i'm having an existential crisis over here because i haven't questioned this til now
- 1 more reply
New conversation -
-
-
We've standardized on Make but under the hood, we've got Make eventually doing: cargo test --no-run cargo test --verbose --no-fail-fast cargo build --release I think I copied this from one of
@Bruce_Adams' repos.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
For Gotham it is `rustfmt` and then `cargo test` against stable, beta and nightly per https://github.com/gotham-rs/gotham/blob/master/.travis.yml#L24 … .
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
cargo check —no-default-features cargo check cargo test Have some optional features in my crate and I basically want to test that things build with everything disabled/enabled before doing a test
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It's kind of complicated, but it boils down to: cargo build && cargo run --example runtest && cargo test && cargo doc See here for the full script with all the details: https://github.com/sunjay/turtle/blob/master/.travis.yml …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
cargo build && cargo test && cargo doc
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.