Skip to content

eduardoflorence/carros_flutter_clean

 
 

Repository files navigation

Carros

Coverage

Flutter - App Exemplo com Clean Architecture

Possui apenas 3 telas para facilitar o entendimento.

drawing

Arquitetura

Baseado na proposta do Reso Coder: (https://resocoder.com/2019/08/27/flutter-tdd-clean-architecture-course-1-explanation-project-structure/)

drawing


Testes (Unit / Widget)

O app possui testes em todas as camadas:

  • Testes de Widget
  • Presenter (ViewModel)
  • UseCase / Domain
  • Repository
  • DataSource / API

Run Tests

Coverage

flutter test --coverage

drawing

Test Code Coverage

drawing

Testes de Integração

Além dos testes unitários e de Widgets, foi criado um teste de integração para demonstrar um fluxo completo de login com sucesso no aplicativo.

Run Integration Tests

flutter drive
--driver=integration_test/driver.dart
--target=integration_test/app_test.dart

About

App dos Carros com Flutter e Clean Architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 93.4%
  • HTML 2.7%
  • Ruby 1.8%
  • Shell 0.8%
  • Swift 0.5%
  • JavaScript 0.4%
  • Other 0.4%