dart-collect-coverage は何をしますか?
coverage パッケージを使用してカバレッジを収集し、LCOV レポートを作成します。
coverage パッケージを使用してカバレッジを収集し、LCOV レポートを作成します。
このスキルは、Dart 言語の `coverage` パッケージを活用して、Dart または Flutter プロジェクトのコードカバレッジを収集し、LCOV 形式のレポートを生成するためのものです。開発者は、テストスイートの実行後にこのスキルを使用することで、どのコード行がテストでカバーされているかを視覚的に確認できるようになります。対応プラットフォームは主に Dart および Flutter プロジェクトであり、`coverage` パッケージが提供するカバレッジ収集機能と、`dart test` などで生成されたカバレッジデータを組み合わせて利用します。LCOV レポートは、VS Code やその他の IDE で読み込んでカバレッジ情報を表示するのに適しており、テスト品質の向上とデバッグの効率化に役立ちます。
npx skills add https://github.com/dart-lang/skills/tree/main/skills/dart-collect-coverageInstalled? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
coverage パッケージを使用してカバレッジを収集し、LCOV レポートを作成します。
This repo contains 8 individual skills — each has its own dedicated page.
Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains correct and regression-free.
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
Uses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hot_reload.
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.
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
Workflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.
Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.
Use switch expressions and pattern matching where appropriate
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.