Loading...
Loading...
Found 8 Skills
Ensure code correctness with comprehensive unit and integration tests.
DART testing patterns - unit tests, integration tests, CI validation
Enforce best practices for Dart and Flutter testing.
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
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.
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
Best practices for using `expect` and `package:matcher`. Focuses on readable assertions, proper matcher selection, and avoiding common pitfalls.
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.