一键导入
run-rust-tests
Run Rust tests for the affected OpenFirma crates or a specific crate/test.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run Rust tests for the affected OpenFirma crates or a specific crate/test.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | run-rust-tests |
| description | Run Rust tests for the affected OpenFirma crates or a specific crate/test. |
Run Rust tests after making changes to verify correctness.
all: run all Rust tests in the workspace<crate>: run tests for one crate<crate> <test>: run one test in one crateArguments provided: $ARGUMENTS
AGENTS.md.# Git
git status --short
git diff --name-only
# jj
jj status
jj diff --name-only
crates/<name>/.cargo nextest run -p <crate1> -p <crate2>
cargo test --doc -p <crate1> -p <crate2>
alljust test
cargo nextest run -p <crate-name>
cargo test --doc -p <crate-name>
cargo nextest run -p <crate-name> <test-name>
If the target is a doctest-specific failure, use:
cargo test --doc -p <crate-name>
cargo nextest does not run doctests in this repo.just test or just check at the end.Review Rust changes for correctness, robustness, documentation quality, and test coverage.
Guidelines for writing Rust tests in OpenFirma.
Write Rust tests for OpenFirma crates while avoiding redundant coverage.
Review changes ahead of opening a new PR, modifying an existing one or on demand by the user.
Edit a pre-existing GitHub pull request for OpenFirma. Use whenever you are asked to make changes to commits, branches or bookmarks that would affect an open GitHub PR.
Open a GitHub pull request for OpenFirma. Use whenever you are asked to open a PR.