dart-migrate-to-checks-package - Migrate Dart tests to package:checks
Replace package:matcher expect assertions with package:checks equivalents in Dart test suites.
Tags
Updated: 2026-10-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Add package:checks dependency
- Locate legacy assertions
- Update test imports
- Rewrite matcher assertions
- Review syntax differences
- Run static analysis
- Run Dart tests
Inputs
- Dart test suite
- pubspec.yaml
- Legacy expect calls
- Legacy expectLater calls
- Migration scope
Outputs
- Updated Dart test files
- Updated pubspec.yaml
- Static analysis results
- Test execution results
Requirements
- Dart SDK
- Dart package environment
- Project file access
- Permission to run Dart commands
