What problem does it solve? Writing consistent, well-structured unit tests in Dart and Flutter projects requires knowing the correct file layout, testing library conventions, and runner commands. This Skill provides a complete workflow for creating regression-free test suites with package:test. ## Core Features & Use Cases - Test File Organization: Mirror the lib directory structure inside test/ with the _test.dart suffix, and place integration tests in integration_test/. - Test Authoring Patterns: Use group(), test(), expect() with matchers, setUp()/tearDown(), and async/await for asynchronous cases. - Mocking with Mockito: Generate mocks via build_runner, configure stubbed responses, and verify interactions for dependency-injected code. - Use Case: After fixing a bug in a Calculator class, generate a grouped test suite with setup, synchronous and asynchronous cases, then run it with dart test to confirm the fix. ## Quick Start Write unit tests for my Dart class in lib/src/calculator.dart using package:test and run them.