課程資料
課程簡介
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 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.
We will cover how to use the flutter_test package and all the functions in like
1. test()
2. when()
3. expect()
4. verify()
5. verifyNoMoreInteractions()
課程章節
- 10 個章節
- 43 堂課
- 第 1 章 Introduction
- 第 2 章 Understand Dartz Type Either and Architecture Layer
- 第 3 章 Create and understand test
- 第 4 章 Data layer and test
- 第 5 章 Repository and authentication
- 第 6 章 Http layer and test
- 第 7 章 Cubit package and test
- 第 8 章 Dependency injection
- 第 9 章 Create user and test
- 第 10 章 About Actual App
課程內容
- Flutter Test Driven Development, Flutter Development With Firebase, Flutter Firebase & BLoC & Cubit, Flutter Mock API Testing, Learn about flutter_test package
評價
-
CClark Patterson
still love how everything is organized and showing how to work through common problems.
-
JJBOY HASHIMOTO
Mocktail support has been discontinued. I thought it was not good to use an old library.
-
JJérémy Veillerobe
Very good course with excellent practices. I would have appreciated an introduction to Clean Architecture using metaphors, as well as better organization throughout the course. Some videos are not introduced and are cut off without concluding remarks.
-
RRohit Chauhan
I've seen many course on youtube But This course very clear and step by step explanation. First time I understand Clean Architecture . Thank you