Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TDD Trivia App

A Flutter trivia quiz app built from scratch using Test-Driven Development and Clean Architecture.

Questions are fetched from the Open Trivia Database. The project follows a strict Red → Green → Refactor cycle across every layer: domain, data, and presentation.

Architecture

lib/
└── features/trivia/
    ├── domain/          # Entities, repository contract, service (business logic)
    ├── data/            # Models, remote data source, repository implementation
    └── presentation/    # BLoC, pages, widgets

Tech

  • Flutter + Dart 3
  • flutter_bloc — state management
  • mocktail + bloc_test — mocking and BLoC testing
  • equatable — value equality
  • html_unescape — decoding API HTML entities

Running

flutter pub get
flutter run
flutter test

About

Flutter trivia quiz app built with TDD and Clean Architecture

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages