dartsim / dart-test
Install for your project team
Run this command in your project directory to install the skill for your entire team:
mkdir -p .claude/skills/dart-test && curl -L -o skill.zip "https://fastmcp.me/Skills/Download/3402" && unzip -o skill.zip -d .claude/skills/dart-test && rm skill.zip
Project Skills
This skill will be saved in .claude/skills/dart-test/ and checked into git. All team members will have access to it automatically.
Important: Please verify the skill by reviewing its instructions before using it.
DART testing patterns - unit tests, integration tests, CI validation
0 views
0 installs
Skill Content
--- name: dart-test description: DART testing patterns - unit tests, integration tests, CI validation --- <!-- AUTO-GENERATED FILE - DO NOT EDIT MANUALLY --> <!-- Source: .claude/skills/dart-test/SKILL.md --> <!-- Sync script: scripts/sync_ai_commands.py --> <!-- Run `pixi run sync-ai-commands` to update --> # DART Testing Load this skill when writing or debugging tests. ## Quick Commands ```bash pixi run test # Quick test run pixi run test-all # Full validation ctest -R <pattern> # Run specific tests ctest -V # Verbose output ``` ## Full Documentation For complete testing guide: `docs/onboarding/testing.md` For CI/CD troubleshooting: `docs/onboarding/ci-cd.md` ## Test Organization - Unit tests: `tests/unit/` - Integration tests: `tests/integration/` - Regression tests: Near the code they test ## Writing Tests 1. Follow existing patterns in the test directory 2. Use GoogleTest framework 3. Name tests descriptively: `TEST(ClassName, MethodName_Condition_ExpectedResult)` ## CI Validation Before submitting PR: ```bash pixi run lint # Must pass pixi run test-all # Must pass ``` ## Debugging Test Failures ```bash # Run single test with verbose output ctest -R TestName -V # Get CI logs gh run view <RUN_ID> --log-failed ```