dart-migrate-to-checks-package - Migrate Dart tests to package:checks
Replace package:matcher expect assertions with type-safe package:checks equivalents and verify the migrated tests.
Tags
Updated: 2026-10-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Add checks dependency
- Find legacy assertions
- Translate matcher assertions
- Update test imports
- Handle migration pitfalls
- Run static analysis
- Run Dart tests
Inputs
- Dart test suite
- pubspec.yaml
- Legacy expect calls
Outputs
- Updated Dart test files
- Updated pubspec.yaml
- Static analysis results
- Test results
Requirements
- Dart SDK
- Dart package manager
- package:test dependency
- package:checks availability
