Skip to main content
在 Manus 中运行任何 Skill
一键导入

rust-testing

星标0
分支0
更新时间2026年3月29日 15:16

Rust 測試技能。涵蓋 #[test] 單元測試、#[cfg(test)] 模組組織、 integration tests 目錄結構、assert! 系列巨集、測試 helper 函式、 proptest/quickcheck 屬性測試、mockall mocking 策略、 cargo-llvm-cov 覆蓋率報告、#[should_panic] 與 Result<()> 測試模式、 async 測試(tokio::test)、test fixtures 模式、cargo-nextest 加速。 觸發關鍵詞:Rust test, #[test], cargo test, integration test, proptest, mockall, coverage, cargo-llvm-cov, should_panic, test module, TDD Rust, cargo-nextest, assertion, test fixture

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
5 个文件
SKILL.md
readonly