This skill provides comprehensive guidance for writing consistent, reliable, and maintainable tests for Flutter applications. Follow the testing patterns, mocking strategies, and architectural guidelines to ensure tests are isolated, repeatable, and cover both success and error scenarios. This skill works with any Flutter project using common packages like Riverpod, Mockito, and fluttertest.
Important: Never mock providers directly. Override their dependencies instead.
Refer to the references/layertestingpatterns.md file for detailed examples of:
Комплексные навыки тестирования Flutter для создания, написания и анализа тестов в любом проекте Flutter. Содержит рекомендации по структуре тестирования, шаблонам макетирования, тестированию Riverpod, тестированию виджетов, а также лучшим отраслевым практикам для надежных и удобных в сопровождении тестов. Источник: harishwarrior/flutter-claude-skills.