{"enrichment":{"faq":[{"a":"flutter-testing-skill helps you generate widget tests that validate individual UI components in isolation. Widget tests use WidgetTester to pump frames, find widgets by key or type, and verify their state and behavior. The skill automates test creation for buttons, forms, dialogs, and other UI elements, ensuring your components render and respond correctly without needing a full device or emulator.","q":"How do I write Flutter widget tests?"},{"a":"flutter-testing-skill covers Flutter testing best practices and anti-patterns to help you write maintainable, reliable tests. Key patterns include using testWidgets for async test execution, leveraging WidgetTester's pump and settle methods for frame synchronization, organizing tests with clear setup and teardown, and avoiding brittle selectors by finding widgets by semantic key rather than text or position. The skill emphasizes deterministic, fast-running tests that catch real regressions.","q":"What are the main patterns flutter-testing-skill teaches for reliable test code?"},{"a":"flutter-testing-skill automates the creation of golden/snapshot tests that capture and compare UI screenshots across test runs. Golden tests verify visual consistency by storing reference images and flagging pixel-level changes, catching unintended UI drift. The skill generates the boilerplate to configure golden files, pump widgets to stable states, and integrate golden assertions into your test suite for reliable visual regression detection.","q":"How can flutter-testing-skill help set up golden tests for visual regression?"},{"a":"flutter-testing-skill generates test doubles and mocking patterns using Mockito to isolate your widgets and business logic from external services. The skill automates creation of mock repositories, API clients, and other dependencies, allowing you to inject them into your widgets and verify interactions without hitting real backends. This keeps tests fast, deterministic, and focused on component behavior rather than integration concerns.","q":"How do I mock dependencies and services in Flutter tests using flutter-testing-skill?"},{"a":"flutter-testing-skill supports running Flutter tests on real devices through TestMu AI cloud and LambdaTest integration, letting you validate your app on actual hardware and OS versions. The skill helps configure and orchestrate these cloud test runs, complementing local widget and integration tests with end-to-end validation on genuine devices to catch platform-specific issues before release.","q":"Can flutter-testing-skill help run tests on real devices via cloud platforms?"},{"a":"flutter-testing-skill generates test code using WidgetTester actions like tap, drag, fling, and typeText to simulate user interactions, along with finder strategies to locate widgets by key, type, text, and semantic properties. The skill automates the creation of these interaction patterns and assertions, reducing boilerplate and helping you build comprehensive integration tests that exercise your app's UI flows end-to-end.","q":"What test actions and finders does flutter-testing-skill automate for UI interaction?"}],"shadow_tags":["widget-testing","integration-testing","visual-regression","test-automation","mobile-qa","ui-component-testing","end-to-end-testing","mock-services","real-device-testing","test-coverage"],"summary_rewrite":"This skill automates the creation of Flutter tests across widget and integration layers, helping you validate UI components and user workflows programmatically. It streamlines test generation for Flutter applications, reducing manual test writing overhead and improving coverage across your app's interactive surfaces."},"files":[{"bytes":7850,"path":"flutter-testing-skill/SKILL.md","sha256":"c91a4d5324e5f2a28e6727b3a3cc9d3328de71a14ecfd56463dcb4c94cc5906b","url":"https://skillfed.io/files/LambdaTest/agent-skills/flutter-testing-skill/9bd8f079/SKILL.md"}],"id":"LambdaTest/agent-skills/flutter-testing-skill","links":{"html":"https://skillfed.io/LambdaTest/agent-skills/flutter-testing-skill","md":"https://skillfed.io/LambdaTest/agent-skills/flutter-testing-skill.md","repo":"https://github.com/LambdaTest/agent-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":68,"language":"Python","last_updated":"2026-07-24","license":"MIT","name":"flutter-testing-skill","publisher":"LambdaTest","stars":339},"relations":{"similar":[{"id":"dhruvanbhalara/skills/flutter-add-widget-test"},{"id":"dhruvanbhalara/skills/flutter-add-integration-test"},{"id":"flutter/agent-plugins/flutter-add-widget-test"},{"id":"flutter/agent-plugins/flutter-add-integration-test"},{"id":"cometchat/cometchat-skills/cometchat-flutter-v5-testing"},{"id":"cometchat/cometchat-skills/cometchat-flutter-v6-testing"},{"id":"softspark/ai-toolkit/dart-rules"},{"id":"xtone/ai_development_tools/e2e-test-generator"},{"id":"softspark/ai-toolkit/flutter-patterns"},{"id":"alinaqi/maggy/flutter"}]},"slug":{"owner":"LambdaTest","repo":"agent-skills","skill":"flutter-testing-skill"},"version":"9bd8f079"}
