dart-test

Load this skill when writing or debugging tests.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "dart-test" with this command: npx skills add dartsim/dart/dartsim-dart-dart-test

DART Testing

Load this skill when writing or debugging tests.

Quick Commands

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

  • Follow existing patterns in the test directory

  • Use GoogleTest framework

  • Name tests descriptively: TEST(ClassName, MethodName_Condition_ExpectedResult)

CI Validation

Before submitting PR:

pixi run lint # Must pass pixi run test-all # Must pass

Debugging Test Failures

Run single test with verbose output

ctest -R TestName -V

Get CI logs

gh run view <RUN_ID> --log-failed

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

dart-io

No summary provided by upstream source.

Repository SourceNeeds Review
General

dart-build

No summary provided by upstream source.

Repository SourceNeeds Review
General

dart-ci

No summary provided by upstream source.

Repository SourceNeeds Review