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:
Una competenza completa per i test Flutter per creare, scrivere e analizzare test in qualsiasi progetto Flutter. Fornisce indicazioni sulla struttura dei test, modelli di simulazione, test Riverpod, test dei widget e best practice del settore per test affidabili e gestibili. Fonte: harishwarrior/flutter-claude-skills.