testing-patterns-rust

Installation
SKILL.md

Testing Couchbase Rust Applications

Unit Testing

The Rust SDK does not expose trait-based interfaces for mocking. Wrap SDK types behind your own trait and mock that with mockall.

# Cargo.toml
[dev-dependencies]
mockall = "0.12"
tokio-test = "0.4"
use mockall::automock;
Installs
3
First Seen
Jun 16, 2026
testing-patterns-rust — couchbaselabs/agent-skills