Flutter Test Driven Development With Clean Architecture

Flutter Firebase Test Driven Development And Clean Architecture

In this course, we will cover how to do test driven development. We will also build a dummy app to learn about it in depth. We will cover almost 100 tests which will involve api mock testing, firebase api mock testing, build correct http response, learn how to deal with incorrect or wrong response from the server.

What you’ll learn

  • Flutter Test Driven Development.
  • Flutter Development With Firebase.
  • Flutter Firebase & BLoC.
  • Flutter Mock API Testing.

Course Content

  • Introduction –> 1 lecture • 5min.
  • Understand Dartz Type Either and Architecture Layer –> 7 lectures • 1hr 3min.
  • Create and understand test –> 7 lectures • 50min.
  • Data layer and test –> 7 lectures • 1hr 6min.
  • Repository and authentication –> 5 lectures • 51min.
  • Http layer and test –> 5 lectures • 1hr 15min.
  • Cubit package and test –> 5 lectures • 36min.
  • Dependency injection –> 1 lecture • 13min.
  • Create user and test –> 2 lectures • 37min.

Auto Draft

Requirements

In this course, we will cover how to do test driven development. We will also build a dummy app to learn about it in depth. We will cover almost 100 tests which will involve api mock testing, firebase api mock testing, build correct http response, learn how to deal with incorrect or wrong response from the server.

What is Test Driven Development (TDD)?

In layman’s terms, Test Driven Development (TDD) is a software development practice that focuses on creating unit test cases before developing the actual code. It is an iterative approach combining programming, unit test creation, and refactoring.

  • The TDD approach originates from the Agile manifesto principles and Extreme programming.
  • As the name suggests, the test process drives software development.
  • Moreover, it’s a structuring practice that enables developers and testers to obtain optimized code that proves resilient in the long term.
  • In TDD, developers create small test cases for every feature based on their initial understanding. The primary intention of this technique is to modify or write new code only if the tests fail. This prevents duplication of test scripts.

Apart from that you will learn correct folder structure of your using BLoC and Provider with clean architecture aspect.

Throughout the testing we will use BLoC & Cubit and show how to manage states during testings.

Get Tutorial