Flutter Test Driven Development With Clean Architecture
Flutter Firebase Test Driven Development And Clean Architecture
Description
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()
What You Will Learn!
- Flutter Test Driven Development
- Flutter Development With Firebase
- Flutter Firebase & BLoC & Cubit
- Flutter Mock API Testing
- Learn about flutter_test package
Who Should Attend!
- Intermediate to advanced learners