Edge Copy setup link
Skill evidence / Dart Generate Test Mocks

Dart Generate Test Mocks

Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`.

dart-lang/skillspinned 0d9f1c4
✓ Security state: reviewed

2 static scans, 0 counted findings.

Recorded for this package revision; Edge checks the exact bundle again when your agent loads it.

SKILL.md1 file · 6.2 KB
From dart-lang’s public repository. Edge did not write or edit this skill.

What this skill does for you

Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex external services like APIs or databases.

Quoted from the skill description in the pinned source

Use it with Edge

Set up Edge for me: read getedge.cc/SKILL.md and follow it. Then use Edge to load the dart-generate-test-mocks skill from dart-lang/skills.

Paste it into Claude, ChatGPT, Codex or Cursor.

Or read the skill source first.

Try Dart Generate Test Mocks in your agent.

Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`.