Loading...
Loading...
Found 11 Skills
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.
DART testing patterns - unit tests, integration tests, CI validation
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.
Collect coverage using the coverage packge and create an LCOV report
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.
Run tests for Keychat packages
Enforce best practices for Dart and Flutter testing.
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.