This crate helps you with testing any combinations of your crate's features programmatically. All
with one cargo test
.
You'll need to set up auxiliary crates. Also, this can't run unit tests (#[test]
) as-is - you'll
need to refactor those functions and have them called from binary crate(s) within the same project.
Based on crates.io/crates/test-binary (gitlab.com/rust-test-binary/test-binary). Using epage/_rust Rust project template.
cargo check
run on a crate that uses test-binary-features
to invoke any other crates can't check
(traverse) those other crates.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.