flutter_modular_test

Init Modules and test the integration

Getting Started

Add in your pubspec.yaml


dev_dependecies:
  flutter_modular_test:

Using

Start a Module


main(){
    setUp(){
        initModule(AppModule());
    }
}

Start more then one Module


main(){
    setUp(){
        initModules([AppModule(), HomeModule(), PerfilModule()]);
    }
}

Replace binds of Module


main(){

    final dioMock = DioMock();

    setUp(){
        initModule(AppModule(), replaceBinds: [
            Bind.instance<Dio>(dioMock),
        ]);
    }
}

Libraries

flutter_modular_test