Testing
1,161 installs
Migrating Dart Tests to Package Checks
by dart-lang/skills
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
Skill content
Migrating Dart Tests to Package Checks Use this skill when you need to migrate a Dart test suite from the legacy package:matcher (which is exported by default from package:test/test.dart) to the modern, type-safe, and literate package:checks assertion library. Contents - When to Use This Skill - How to Use This Skill (The Workflow) - Key Syntax Differences and Pitfalls - Matcher-to-Checks Mapping Table - Matchers with No Direct Replacements - Strategies for Discovery - Examples