A simple, expressive unit test framework for Rust
Checkout the documentation and the extensive examples over on github.
Laboratory is layer 2 test runner solution that sits on top of the Rust test runner to provide unparalleled features and ease of use.
In Cargo.toml:
[dev-dependencies]
laboratory = "*"
Then in your test files
#[cfg(test)]
mod tests {
use laboratory::{describe, describe_skip, it, it_skip, it_only, expect};
}
// from examples/simple.rs
//###SIMPLE###//
Then run: ```shell script $ cargo test -- --nocapture
Result:
//###SIMPLE-RESULT###// ```
$ claude mcp add laboratory \
-- python -m otcore.mcp_server <graph>