Learn to write Flutter unit testing for your Flutter application. We will be using controller service repository pattern with clean architecture to test all the 3 layer. We will be using flutter_riverpod, mokito and moktail. We will write a unit test for our eCommerce app that we have build in our previous course. We will write a unit test for our repository, service, controller, we will be creating a mock object to test our classes and functions as well as we will learn to write test for Riverpod Notifier, State Notifier, Provider with 100% test coverage. This course only teaches you about the Flutter unit testing, If you want to learn about Widget and Integration Test check out Flutter Widget and Integration Test
Course syllabus
- Course Introduction
- GitHub Project Link
- Testing Flutter Apps
- Test Pyramid
- Unit Test
- Given When Then
- Test Dependencies
- Test Lifecycle
- Write You 1st Test Case
- Login Failure Test Case
- Testing Flutter Apps
- Socket Exception Test Case
- Login Test Group
- Login Success Test Case
- Login Error Test Case
- Add To Box Test Case
- Get from Box Test Case
- Test Group
- Setup Test
- Login Success Test Case
- Login Error Test Case
- SetObscure Method Test
- GetAccessToken Success Test Case
- GetAccessToken Failure Test Case
- Test Coverage Report
- Setup Test
- Get Products Success Test Case
- Get Products Error Test Case
- Get Products Socket Exception Test Case
- Product Detail Success Test Case
- Product Detail Error Test Case
- Group and Test Coverage
- Setup Test
- Product Detail Model Fake
- Get Products Success Test Case
- Get Products Error Test Case
- Product Detail Success Test Case
- Product Detail Error Test Case
- Group and Test Coverage
- Setup Test
- Get Products Success Test Case
- Get Products Error Test Case
- Paginated Product Test Case
- Setup Test
- Product Detail Success Test Case
- Products Detail Error Test Case
- Setup Fake Data
- Setup Mocks
- Add To Cart Test Case
- Increment and Decrement Qty Test Case
- Test Group and Coverage
- Setup Test
- GetProfile Success Test Case
- GetProfile Failure Test Case
- DeleteUser Success Test Case
- DeleteUser Failure Test Case
- Test Group and Coverage
- Setup Test
- GetProfile Success Test Case
- GetProfile Failure Test Case
- DeleteUser Success Test Case
- DeleteUser Failure Test Case
- Test Group and Coverage
- Setup Test
- GetProfile Success Test Case
- GetProfile Failure Test Case
- DeleteUser Success Test Case
- DeleteUser Failure Test Case
- Test Group and Coverage
- Course Feedback
- Submit your GitHub project for project review
- Final 1-1 Session for 30 min
Reviews
There are no reviews yet.