بنقرة واحدة
dart-test
DART Test: unit tests, integration tests, CI validation, and debugging
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
DART Test: unit tests, integration tests, CI validation, and debugging
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
DART Analyze: analyze repository evidence without editing
DART Architecture: the DART 7 multi-physics, multi-solver, multi-backend simulation pipeline and where each abstraction is owned
DART Audit Agent Compliance: audit and fix gaps when agents miss or cannot discover documented rules
DART Backport PR: backport a merged main PR to a release branch
DART Benchmark Packet: author or refresh a benchmark evidence packet for an owning plan
DART Branch Cleanup: analyze or clean stale repository branches
| 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 scene structure, dynamics,
collision/contact, simulation stepping, GUI output, or a visual example, also
load dart-verify-sim. Use its text-first oracle and then an assessed headless
capture with claim-relevant debug layers. Record a concrete no-visual reason
only when that 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. Build the test target before running its label, e.g. for
the simulation suite: pixi run build-simulation-tests (target
dart_simulation_tests) before ctest -L simulation.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.