Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
thebeardedbearsas avatar

Testing Flutter

  • 137 installs
  • 99 repo stars
  • Updated August 4, 2026
  • thebeardedbearsas/claude-craft

Helps with testing & qa tasks.

About

testing-flutter is a Claude Code skill for testing & qa. It helps solo builders move faster with AI-assisted coding.

  • testing-flutter
  • Testing & QA
  • AI-coding skill

Testing Flutter by the numbers

  • 137 all-time installs (skills.sh)
  • +3 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #911 of 2,153 Testing & QA skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/thebeardedbearsas/claude-craft --skill testing-flutter

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs137
repo stars99
Last updatedAugust 4, 2026
Repositorythebeardedbearsas/claude-craft

What it does

Helps with testing & qa tasks.

Files

SKILL.mdMarkdownGitHub ↗

Testing Flutter 3.44+ - Stratégie Complète

Versions : Flutter 3.44+ | Dart 3.12+ | BLoC v9 | Riverpod 3.0

Patterns de test 2026

BLoC v9 Tests avec bloc_test

// pubspec.yaml
dev_dependencies:
  bloc_test: ^10.0.0
  mocktail: ^1.0.0

// Test avec emit.isMounted checks (BLoC v9)
blocTest<UserBloc, UserState>(
  'emits [loading, loaded] when FetchUser is added',
  build: () {
    when(() => mockUseCase.call('123'))
        .thenAnswer((_) async => User(id: '123', name: 'Alice'));
    return UserBloc(getUserUseCase: mockUseCase);
  },
  act: (bloc) => bloc.add(const FetchUser('123')),
  expect: () => [
    const UserState(status: UserStatus.loading),
    const UserState(status: UserStatus.loaded, user: User(id: '123', name: 'Alice')),
  ],
  verify: (bloc) {
    // Vérifier que le bloc respecte isMounted (v9)
    verify(() => mockUseCase.call('123')).called(1);
  },
);

Riverpod 3.0 Mutations Tests

// Test Riverpod 3.0 Mutations API
test('Mutation updates state correctly', () async {
  final container = ProviderContainer();
  
  // Initial state
  final notifier = container.read(orderNotifierProvider('123').notifier);
  expect(container.read(orderNotifierProvider('123')).value?.id, '123');
  
  // Mutation
  await notifier.updateOrder(Order(id: '123', name: 'Updated'));
  
  // Verify state après mutation
  expect(
    container.read(orderNotifierProvider('123')).value?.name,
    'Updated',
  );
  
  container.dispose();
});

Source : Riverpod 3.0 Testing

---

This skill provides guidelines and best practices.

See ../../rules/07-testing-flutter.md for detailed documentation.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.