.skills/rust-tests-guidelines/SKILL.md
Guidelines for writing new tests for Rust code.
insta whenever you are testing output that is difficult to predict or compare.proptest to add property-based tests for key invariants.tests directory of the relevant crate if they don't rely on private APIs.tests directory should be organized as a crate, with a main.rs file and all tests in modules.
Refer to the trie_rs/tests directory as an example.#[cfg(test)] module.Check out CONTRIBUTING.md for instructions on how to deal with undefined C symbols in Rust tests.