#testing-cargo #binary #cargo #integration #test

test-binary-features

Programmatic testing of Rust binary crate features

1 unstable release

0.0.1 Sep 30, 2023

#40 in #testing-cargo

MIT/Apache

27KB
438 lines

Automate testing your crate features

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.

Documentation License Crates Status

Based on crates.io/crates/test-binary (gitlab.com/rust-test-binary/test-binary).

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~1.1–2MB
~41K SLoC