test-flutter
Skill1.1k starsChanged 10 months agoMITView on GitHub
Flutter App のテスト実行・静的解析・フォーマット・テスト記述ガイド
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about K9i-0/ccpocket
- A Hacker News story“Show HN: CC Pocket – Control Claude Code/Codex from Your Phone”Hacker News · Mar 7, 2026 · 2 points
- @android.activitypub.awakari.com.ap.brid.gy“Show HN: CC Pocket – Control Claude Code/Codex from Your Phone CC Pocket is a mobile app (iOS/Android) for …”Bluesky · Mar 7, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.k9i-0.ccpocket: 1.136.1+258 → 0-unstable-2026-09-30”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.k9i-0.ccpocket: init at 1.136.1+258”GitHub · Sep 28, 2026
- @munawwar.bsky.social“Guys, CC Pocket! One of few projects that shows local (linux) Codex sessions on a native (android) app …”Bluesky · May 5, 2026
The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 8
Talked about on GitHub, Bluesky and Hacker News (8 times).
On GitHub · 5
- Oct 3, 2026agent-skills.github.k9i-0.ccpocket: 1.136.1+258 → 0-unstable-2026-09-30 — sudosubin/agents.nix0 reactions
- Sep 28, 2026agent-skills.github.k9i-0.ccpocket: init at 1.136.1+258 — sudosubin/agents.nix0 reactions
- Apr 18, 2026Audit candidate: K9i-0/ccpocket — xiaolai/nlpm0 reactions · 1 comment
- Apr 13, 2026Not support custom model in the claude code and OAuth — getpaseo/paseo0 reactions · 1 comment
- Mar 15, 2026feat: Claude Code 承認UI の改善(ネイティブ PermissionSheet) — dashi296/remocoder0 reactions
On Bluesky · 2
- Mar 7, 2026Show HN: CC Pocket – Control Claude Code/Codex from Your Phone CC Pocket is a mobile app (iOS/Android) for remotely controlling Claude Code… — @android.activitypub.awakari.com.ap.brid.gy1 likes and repost
- May 5, 2026Guys, CC Pocket! One of few projects that shows local (linux) Codex sessions on a native (android) app github.com/K9i-0/ccpocket — @munawwar.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Mar 7, 2026Show HN: CC Pocket – Control Claude Code/Codex from Your Phone2 points
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- codex-guideSkill
- flutter-ui-designSkill
- flutter-upgradeSkill
- mergeSkill
- mobile-automationSkill
- playwright-cliSkill
- release-appSkill
- release-bridgeSkill
- release-cardSkill
- self-reviewSkill
- shorebird-patchSkill
- sim-previewSkill
- submit-store-reviewSkill
- test-bridgeSkill
- triageSkill
- update-storeSkill
- web-previewSkill
The file
Files
Flutter App テスト
実行手順
変更した挙動に対応するテストと静的検証を選ぶ。全体テストは、共通基盤・依存関係への変更や回帰懸念がある場合、または全体検証を依頼された場合に実行する。成功済みの検証を理由なく繰り返さない。以下はコマンドの選択肢。
1. 静的解析
dart analyze apps/mobile今回の変更で生じた warning 以上は修正する。既存の無関係な問題は報告し、info は必要に応じて対応する。
MCP代替: mcp__dart-mcp__analyze_files でも実行可能だが、CLI推奨。
2. フォーマット
dart format <変更したDartファイル>3. ユニットテスト
cd apps/mobile && flutter test特定ファイルのみ:
cd apps/mobile && flutter test test/<filename>_test.dartMCP代替: mcp__dart-mcp__run_tests でも実行可能だが、CLI推奨。
MCP版はDTD接続不要な操作のため、CLIの方が効率的。
テスト記述規約
ファイル配置・命名
- テストファイルは
apps/mobile/test/に配置 - 命名:
<対象の概念>_test.dart- ウィジェットテスト例:
approval_bar_test.dart,chat_input_bar_test.dart - ロジックテスト例:
chat_message_handler_test.dart
- ウィジェットテスト例:
import
import 'package:flutter_test/flutter_test.dart';
import 'package:ccpocket/...';テスト構造
void main() {
group('対象クラスまたは機能', () {
test('動作の説明', () {
// ロジックテスト
expect(actual, expected);
});
testWidgets('UI動作の説明', (tester) async {
// ウィジェットテスト
await tester.pumpWidget(MaterialApp(home: TargetWidget()));
expect(find.text('expected'), findsOneWidget);
});
});
}groupで対象機能ごとにグルーピング- ロジックテストは
test()、UI テストはtestWidgets()を使い分ける setUp()でテスト前の共通初期化を行う
テスト対象の方針
- ウィジェットテスト: 画面の表示・インタラクション検証
pumpWidgetでウィジェット構築 →findで要素確認 →tap/enterTextで操作
- ロジックテスト: サービス・ハンドラーの振る舞い検証
- 純粋なDartクラスのメソッド呼び出しと結果確認
- WebSocket通信やBridge接続のモックが必要なテストは避ける (E2E領域)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

