Loading...
Loading...
Found 12 Skills
DART testing patterns - unit tests, integration tests, CI validation
Core concepts and best practices for `package:test`. Covers `test`, `group`, lifecycle methods (`setUp`, `tearDown`), and configuration (`dart_test.yaml`).
Ensure code correctness with comprehensive unit and integration tests.
Run tests for Keychat packages
Enforce best practices for Dart and Flutter testing.
Collect coverage using the coverage packge and create an LCOV report
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
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.
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.
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
Best practices for using `expect` and `package:matcher`. Focuses on readable assertions, proper matcher selection, and avoiding common pitfalls.