Skip to content

yunusemrealpak/flutter_clean_architecture_with_tdd

Repository files navigation

Flutter Clean Architecture with TDD

This project is developed using Flutter, embracing the principles of Test Driven Development (TDD) and Clean Architecture. The goal of this project is to provide guidance to Flutter developers on a high-quality and sustainable application development process.

Getting Started

This section provides instructions on how to get the project running on your local machine.

Prerequisites

  • Flutter SDK (version 3.19.0)
  • Dart SDK (version 3.3.0)
  • An IDE (preferably Visual Studio Code or Android Studio)

Installation

  1. Clone the repository:
git clone https://github.com/yunusemrealpak/flutter_clean_architecture_with_tdd.git
  1. Install dependencies:
flutter pub get
  1. Run the application:
flutter run

Architecture

This project follows the Clean Architecture approach, comprising the following layers:

  • Presentation Layer: Manages user interface and user interactions.
  • Domain Layer: Contains the business logic and use cases of the application.
  • Data Layer: Manages interaction with data sources (API, local database).

TDD Approach

This project adopts the principles of Test Driven Development (TDD), following these steps:

  1. Write a Test: Write a test for the functionality.
  2. Red: See the test fail.
  3. Green: Write the minimum amount of code for the test to pass.
  4. Refactor: Clean up the code.

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published