skills/smithery.ai/asyncredux-testing-basics

asyncredux-testing-basics

Installation
SKILL.md

Testing AsyncRedux Actions

The recommended approach for testing AsyncRedux is to use the Store directly rather than the deprecated StoreTester. This provides a clean, straightforward testing pattern.

Creating a Test Store

Create a store with test-specific initial state:

import 'package:flutter_test/flutter_test.dart';
import 'package:async_redux/async_redux.dart';

void main() {
  test('should increment counter', () async {
    // Create store with initial state
    var store = Store<AppState>(
      initialState: AppState(counter: 0, name: ''),
    );
Installs
1
First Seen
Mar 27, 2026
asyncredux-testing-basics from smithery.ai