dart-collect-coverage

dart collect coverage

dart-lang 411 ↓ 10k BSD-3-Clause updated 28d ago
Claude Code
View source ↗

What it does

  • Testing Fundamentals
  • Coverage Directives
  • Workflow: Configuring and Generating Coverage Reports
  • Workflow: Advanced Manual Coverage Collection
  • Unit Tests: Verify individual functions, methods, or classes.
  • Component/Widget Tests: Verify component behavior, layout, and interaction using mock objects (package:mockito).
  • Integration Tests: Verify entire app flows on simulated or real devices.

Requirements & configuration

  • If you require granular control over the VM service, isolate pausing, or need branch/function-level coverage, use the manual collection workflow.
  • Optional: Append --function-coverage and --branch-coverage to gather deeper metrics (requires Dart VM 2.17.0+).

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

dart collect coverage

Source

Repository: https://github.com/dart-lang/skills

dart-collect-coverage FAQ

What does the dart-collect-coverage skill do?

Collect coverage using the coverage packge and create an LCOV report Testing Fundamentals Coverage Directives

What does dart-collect-coverage require?

If you require granular control over the VM service, isolate pausing, or need branch/function-level coverage, use the manual collection workflow. Optional: Append --function-coverage and --branch-coverage to gather deeper metrics (requires Dart VM 2.17.0+).

How do I install dart-collect-coverage?

Run: npx -y skills add https://github.com/dart-lang/skills --skill dart-collect-coverage --agent claude-code — the source lives at github.com/dart-lang/skills.

Maintain dart-collect-coverage?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

dart-collect-coverage on getagentictools
[![dart-collect-coverage on getagentictools](https://getagentictools.com/badge/skills/dart-lang-skills-dart-collect-coverage.svg)](https://getagentictools.com/skills/dart-lang-skills-dart-collect-coverage?ref=badge)
npx agentictools info skills/dart-lang-skills-dart-collect-coverage

The second line is the CLI lookup for this page — handy in READMEs and docs.