Last updated:
0 purchases
modular test
modular_test #
Init Modules and test the integration
Getting Started #
Add in your pubspec.yaml
dev_dependencies:
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.