Cargo Features
cargo-override has no features set by default.
[dependencies]
cargo-override = { version = "0.0.5", features = ["failing_tests"] }
- failing_tests
-
Used to introduce TDD style tests, that are known to fail now, without breaking CI.
These tests are marked with
#[cfg_attr(not(feature = "failing_tests"), should_panic)]
. Once the bugs are fixed, and these tests start passing, those attributes need to be removed.You can run these special tests now with
cargo test --features failing_tests