Loading...
Loading...
Found 11 Skills
Ensure code correctness with comprehensive unit and integration tests.
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`).
Enforce best practices for Dart and Flutter testing.
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
Collect coverage using the coverage packge and create an LCOV report
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.
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.
Best practices for using `expect` and `package:matcher`. Focuses on readable assertions, proper matcher selection, and avoiding common pitfalls.
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
Run tests for Keychat packages