Currently Empty: £0.00
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()
Understand Dartz Type Either and Architecture Layer
Create and understand test
-
2Create user entity
-
3Understanding object compare in dart
-
4Install dartz package and understand Either type
-
5Create failure and typedef
-
6Dart callable call function
-
7Done with domain layer usescases create user
-
8Domain layer usecases get_user
-
9About domain layers
Learn more about domain layer
Data layer and test
Repository and authentication
Http layer and test
Cubit package and test
Dependency injection
Create user and test
About Actual App
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
Stars 5
22
Stars 4
4
Stars 3
1
Stars 2
1
Stars 1
0