integration test
A test in the tests/ folder that uses your library the way another crate would.
Each file in tests/ is compiled as its own crate that depends on the library, so it can only use the public API.
Examples
tests/split.rsstarts withuse billsplit::{split_even, with_tip};and needs no#[cfg(test)];cargo test --test splitruns only that file.
See also