side_effect_cubit_test 1.0.2 side_effect_cubit_test: ^1.0.2 copied to clipboard
This is a testing utility designed to simplify the process of testing Blocs that produce side effects. It builds upon the bloc_test package and introduces features that allow developers to expect side [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add side_effect_cubit_test
With Flutter:
$ flutter pub add side_effect_cubit_test
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
side_effect_cubit_test: ^1.0.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:side_effect_cubit_test/side_effect_cubit_test.dart';