Flutter Testing
MADTeacher/mad-agents-skills
Write, fix, review, debug, and validate Flutter tests for apps, packages, and plugins.
Implements unit, widget, and integration tests for a Flutter app.
$ npx skills add btwld/superdeck --skill flutter-testing-apps -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install btwld/superdeck flutter-testing-apps --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/btwld/superdeck.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/flutter-testing-apps .claude/skills/flutter-testing-apps && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "flutter-testing-apps" agent skill from https://github.com/btwld/superdeck/tree/main/.agents/skills/flutter-testing-apps into .claude/skills/flutter-testing-apps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-testing-apps", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/btwld/superdeck/tree/main/.agents/skills/flutter-testing-appsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add btwld/superdeck --skill flutter-testing-apps -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install btwld/superdeck flutter-testing-apps --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/btwld/superdeck.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/flutter-testing-apps .agents/skills/flutter-testing-apps && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "flutter-testing-apps" agent skill from https://github.com/btwld/superdeck/tree/main/.agents/skills/flutter-testing-apps into .agents/skills/flutter-testing-apps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-testing-apps", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add btwld/superdeck --skill flutter-testing-apps -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install btwld/superdeck flutter-testing-apps --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/btwld/superdeck.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/flutter-testing-apps .cursor/skills/flutter-testing-apps && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "flutter-testing-apps" agent skill from https://github.com/btwld/superdeck/tree/main/.agents/skills/flutter-testing-apps into .cursor/skills/flutter-testing-apps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-testing-apps", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/btwld/superdeck.git --path .agents/skills/flutter-testing-apps--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add btwld/superdeck --skill flutter-testing-apps -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install btwld/superdeck flutter-testing-apps --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/btwld/superdeck.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/flutter-testing-apps .gemini/skills/flutter-testing-apps && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "flutter-testing-apps" agent skill from https://github.com/btwld/superdeck/tree/main/.agents/skills/flutter-testing-apps into .gemini/skills/flutter-testing-apps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-testing-apps", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install btwld/superdeck flutter-testing-appsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add btwld/superdeck --skill flutter-testing-apps -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/btwld/superdeck.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/flutter-testing-apps .github/skills/flutter-testing-apps && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "flutter-testing-apps" agent skill from https://github.com/btwld/superdeck/tree/main/.agents/skills/flutter-testing-apps into .github/skills/flutter-testing-apps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-testing-apps", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add btwld/superdeck --skill flutter-testing-apps -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install btwld/superdeck flutter-testing-apps --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/btwld/superdeck.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/flutter-testing-apps .opencode/skills/flutter-testing-apps && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "flutter-testing-apps" agent skill from https://github.com/btwld/superdeck/tree/main/.agents/skills/flutter-testing-apps into .opencode/skills/flutter-testing-apps/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-testing-apps", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
flutter-testing-appsImplements unit, widget, and integration tests for a Flutter app.
Flutter Testing Apps is an agent skill from btwld/superdeck. Implements unit, widget, and integration tests for a Flutter app. Use when ensuring code quality and preventing regressions through automated testing.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Integration testing, Cross-platform mobile apps and Code quality. It works with Flutter. The repository describes itself as: Presentation slides for Flutter with Flutter. The licence is BSD-3-Clause.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 815a746. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
flutterFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Flutter Testing Apps loads about 2.2k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 800 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from btwld/superdeck at commit 815a746, republished under its BSD-3-Clause licence (© btwld). 800 words, ~2,159 tokens.
.claude/skills/flutter-testing-apps/SKILL.md (or your agent's skills folder).Use the pinned SDK through fvm; follow the root AGENTS.md for code generation before tests. Select checks by the behavior under test:
fvm dart run melos run test runs package unit/widget tests, excluding ci-excluded suites.fvm dart run melos run test:integration:macos exercises the demo on the local macOS desktop; test:integration targets Linux.fvm dart run melos run test:e2e:web builds the demo and runs Chromium/WebKit smoke tests.test:all combines package tests and Linux integration tests; it does not cover browsers or live AI generation.Playground generation checkpoints live in packages/playground/test_live, outside those Melos suites. Use the deterministic fake checkpoint for provider-free validation; consult AGENTS.md for the opt-in live test and define-file requirements. Match new regression tests to the existing Signals/controllers and feature folders rather than introducing ViewModels solely for these examples.
Balance your testing suite across three main categories to optimize for confidence, maintenance cost, dependencies, and execution speed.
Use unit tests to verify the correctness of a single function, method, or class under various conditions.
test or flutter_test package.Use widget tests (component tests) to ensure a single widget's UI looks and interacts as expected.
WidgetTester.Finder classes to locate widgets and Matcher constants to verify their existence and state.Use integration tests (end-to-end or GUI testing) to validate how individual pieces of an app work together and to capture performance metrics on real devices.
integration_test package as a dependency.Design your application for observability and testability. Ensure all components can be tested both in isolation and together.
Fake implementations of your repositories (e.g., FakeUserRepository) over using mocking libraries when testing ViewModels and Views to ensure well-defined inputs and outputs.When testing plugins, combine Dart tests with native platform tests to ensure full coverage across the method channel.
android/src/test/.example/ios/RunnerTests/ and example/macos/RunnerTests/.linux/test/ and windows/test/.Copy and track this checklist when implementing tests for a new architectural feature.
Fake implementations for any new Repositories or Services.Follow conditional logic based on the target platform when executing integration tests.
flutter test integration_test/app_test.dartchromedriver --port=4444flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart -d chromexvfb-run to provide a display environment.xvfb-run flutter test integration_test/app_test.dart -d linuxflutter build apk --debug and ./gradlew app:assembleAndroidTestDemonstrates testing a ViewModel using a Fake Repository.
import 'package:flutter_test/flutter_test.dart';
void main() {
group('HomeViewModel tests', () {
test('Load bookings successfully', () {
// Inject fake dependencies
final viewModel = HomeViewModel(
bookingRepository: FakeBookingRepository()..createBooking(kBooking),
userRepository: FakeUserRepository(),
);
// Verify state
expect(viewModel.bookings.isNotEmpty, true);
});
});
}Demonstrates testing a View by pumping a localized widget tree with fake dependencies.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
void main() {
group('HomeScreen tests', () {
late HomeViewModel viewModel;
late FakeBookingRepository bookingRepository;
setUp(() {
bookingRepository = FakeBookingRepository()..createBooking(kBooking);
viewModel = HomeViewModel(
bookingRepository: bookingRepository,
userRepository: FakeUserRepository(),
);
});
testWidgets('renders bookings list', (WidgetTester tester) async {
await tester.pumpWidget(
MaterialApp(
home: HomeScreen(viewModel: viewModel),
),
);
// Verify UI state
expect(find.byType(ListView), findsOneWidget);
expect(find.text('Booking 1'), findsOneWidget);
});
});
}Demonstrates a full end-to-end test using the integration_test package.
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:my_app/main.dart';
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
group('end-to-end test', () {
testWidgets('tap on the floating action button, verify counter', (tester) async {
// Load app widget
await tester.pumpWidget(const MyApp());
// Verify initial state
expect(find.text('0'), findsOneWidget);
// Find and tap the button
final fab = find.byKey(const ValueKey('increment'));
await tester.tap(fab);
// Trigger a frame to allow animations/state to settle
await tester.pumpAndSettle();
// Verify updated state
expect(find.text('1'), findsOneWidget);
});
});
}© btwld, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/flutter-testing-apps of btwld/superdeck.
Open the folder on GitHubat commit 815a746
Flutter Testing Apps next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Flutter Testing Apps this skillbtwld/superdeck | 129 | — | ~2.2k | Automated safety check: Pass | BSD-3-Clause | |
| Flutter TestingMADTeacher/mad-agents-skills | 110 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Flutter TesterFNOSP/FlyNarwhal | 495 | — | ~1.4k | Automated safety check: Pass | AGPL-3.0 | |
| Mobile Testingirahardianto/awesome-agv | 157 | — | ~1.8k | Automated safety check: Notes | MIT | |
| Flutter Add Integration Testabdulmominsakib/localmind | 261 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Testingevanca/flutter-ai-rules | 647 | — | ~1.1k | Automated safety check: Pass | MIT |
MADTeacher/mad-agents-skills
Write, fix, review, debug, and validate Flutter tests for apps, packages, and plugins.
FNOSP/FlyNarwhal
A skill your agent uses when creating, writing, fixing, or reviewing tests in a Flutter project.
irahardianto/awesome-agv
Mobile E2E testing patterns — Flutter integrationtest, Patrol, Maestro, golden testing, device matrix, and test data management.
abdulmominsakib/localmind
Configures Flutter Driver for app interaction and converts MCP actions into permanent integration tests.
evanca/flutter-ai-rules
A skill your agent uses when writing or reviewing Flutter/Dart tests (unit, widget, golden), fixing flaky tests, adding coverage, or choosing between unit and widget tests.
HoangNguyen0403/agent-skills-standard
Generates one integration/E2E test from an approved test case spec using existing project patterns.
btwld/superdeck
Create, review, or edit SuperDeck Markdown presentations and Flutter presentation apps.
btwld/superdeck
Adds home screen widgets to a Flutter app for Android and iOS.
btwld/superdeck
Implements animated effects, transitions, and motion in a Flutter app.
btwld/superdeck
Architects a Flutter application using the recommended layered approach (UI, Logic, Data).
btwld/superdeck
Builds Flutter forms with validation and user input handling.
btwld/superdeck
Builds Flutter layouts using the constraint system and layout widgets.
Works with
Categories
Implements unit, widget, and integration tests for a Flutter app. Flutter Testing Apps is an agent skill from btwld/superdeck. Implements unit, widget, and integration tests for a Flutter app.
Flutter Testing Apps fits situations like: ensuring code quality and preventing regressions through automated testing; tasks that involve Integration testing; tasks that involve Cross-platform mobile apps.
Run `npx skills add btwld/superdeck --skill flutter-testing-apps -a claude-code`. Or copy the skill folder (.agents/skills/flutter-testing-apps in btwld/superdeck) into .claude/skills/flutter-testing-apps in your project. Claude Code loads it when a task matches its description.
Run `npx skills add btwld/superdeck --skill flutter-testing-apps -a codex`. Or copy the skill folder (.agents/skills/flutter-testing-apps in btwld/superdeck) into .agents/skills/flutter-testing-apps in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add btwld/superdeck --skill flutter-testing-apps -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flutter-testing-apps, .gemini/skills/flutter-testing-apps, .github/skills/flutter-testing-apps and .opencode/skills/flutter-testing-apps in your project.
Going by SKILL.md and its folder, Flutter Testing Apps needs the command-line tools its instructions call (flutter).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Flutter Testing Apps is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Flutter Testing Apps: Flutter Testing (MADTeacher/mad-agents-skills, 110 stars), Flutter Tester (FNOSP/FlyNarwhal, 495 stars), Mobile Testing (irahardianto/awesome-agv, 157 stars) and Flutter Add Integration Test (abdulmominsakib/localmind, 261 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
btwld (a GitHub organization) maintains it in btwld/superdeck, which has 129 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on September 28, 2026.
Source: btwld/superdeck on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.