Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

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.rs starts with use billsplit::{split_even, with_tip}; and needs no #[cfg(test)]; cargo test --test split runs only that file.

Read the full section →