rust-testing
Installation
SKILL.md
Rust Testing
Comprehensive guide for testing Rust code effectively.
Quick Start
Write unit tests inline with your code:
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}