0 purchases
flutter modular test
flutter_modular_test #
@DEPRECATED: This package will be discontinued. Use modular_test instead
Init Modules and test the integration
Getting Started #
Add in your pubspec.yaml
dev_dependecies:
flutter_modular_test:
copied to clipboard
Using #
Start a Module #
main(){
setUp(){
initModule(AppModule());
}
}
copied to clipboard
Start more then one Module #
main(){
setUp(){
initModules([AppModule(), HomeModule(), PerfilModule()]);
}
}
copied to clipboard
Replace binds of Module #
main(){
final dioMock = DioMock();
setUp(){
initModule(AppModule(), replaceBinds: [
Bind.instance<Dio>(dioMock),
]);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.