3 ms·
In Rust, unit tests are marked using the #[test] attribute and typically live alongside the code under test. Integration tests live under a top-level “tests” f
by Cyph0n 2y ago
In Rust, unit tests are marked using the #[test] attribute and typically live alongside the code under test.
Integration tests live under a top-level “tests” folder - in this case, you’ll see that the “tests” directory contains test that call the CLI command and verify its output.
See: https://doc.rust-lang.org/book/ch11-03-test-organization.html https://doc.rust-lang.org/book/ch11-03-test-organization.htm...
- deleted 2y ago[deleted]