Testing Strategy - Test Pyramid : More unit and widget tests, fewer integration tests. Unit tests are fastest and cheapest. - Mirror Test Rule : 100% logic and widget coverage. No code without a test. - Mirror Organization : Test files MUST strictly mirror the directory structure and end with . - Coverage Targets : Target 100% logic coverage for and layers. - Test Independence : Each test MUST be independent. No shared mutable state between tests. Test Types Overview | Type | Scope | Speed | Skill | |---|---|---|---| | Unit | Single function/class | Fast | | | Widget | Single UI component | M…