Dispatch, wait and expect
Testing an AsyncRedux app generally involves these steps, in order:
Testing widget lifecycle
Use a stateful widget to dispatch actions when a screen enters or leaves the widget tree.
Mocking actions and reducers
To mock an action and its reducer, create a MockStore instead of a regular Store.
Testing UserExceptions
Suppose you want to test that some UserException is thrown.
Test files
Test actions, the widget that connects the store to the UI, and presentation at the level
Testing navigation
You can test navigation by asserting navigation types, route names etc. This is useful for