用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dartsim/dart --skill dart-test命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | dart-test |
| description | DART Test: unit tests, integration tests, CI validation, and debugging |
Load this skill when writing or debugging tests.
pixi run test # Quick test run
pixi run test-all # Full validation
pixi run -e cuda test-all # CUDA-enabled full validation on Linux CUDA hosts
pixi run test-unit # Unit tests
pixi run test-py # Python tests
For complete testing guide: docs/onboarding/testing.md
For CI/CD troubleshooting: docs/onboarding/ci-cd.md
tests/unit/tests/integration/TEST(ClassName, MethodName_Condition_ExpectedResult)Before submitting PR:
pixi run lint # Must pass
pixi run test-all # Must pass
pixi run -e cuda test-all # Must pass on Linux CUDA hosts
# Run the smallest existing Pixi test task that covers the failure
pixi run test-unit
# Get CI logs
gh run view <RUN_ID> --log-failed
When a failure or change depends on 3D structure or behavior, also load
dart-verify-sim: text-first oracle, then an assessed headless capture with
claim-relevant debug layers, or a concrete reason when visual corroboration is
unavailable or not applicable.
pixi run build builds libraries only, NOT the unit-test binaries. If you run
ctest without building the test target first, you may execute stale binaries
that silently pass. Use the guarded runner tasks (for example
pixi run test-simulation, which builds dart_simulation_tests first)
instead of a raw ctest -L <label> against a stale binary.pixi run test-all is the default-environment full gate. On Linux hosts with
a visible NVIDIA CUDA runtime, also run pixi run -e cuda test-all; the CUDA
run preserves the cuda Pixi environment and executes the CUDA CTest +
benchmark smoke path when the runtime is detected.DART_CUDA_ARCHITECTURES; unsupported PTX/toolchain errors usually mean the
generated CUDA architecture flags need to be checked before blaming test code.