test_utils library

Functions

testNotifier<T>(StateNotifier<T> notifier, void action(StateNotifier<T>)) List<T>
Runs a test on a StateNotifier and returns the list of emitted states.
testProvider<T>(BaseProvider<T> provider, void action(T)) → T
Tests a provider by creating its value and running an action.
testReactive<T>(Reactive<T> reactive, void action(Reactive<T>)) List<T>
Runs a test on a Reactive value and returns the list of emitted values.