Unit tests are quite difficult to do since the package requires massive refactoring before being able to create mocks. So, IMHO, creating an integration test based on the example app authentication flow is easier and better. No need to refactor anything, just make sure users are able to login, view their profile, and logout using the example app.
Unit tests are quite difficult to do since the package requires massive refactoring before being able to create mocks. So, IMHO, creating an integration test based on the example app authentication flow is easier and better. No need to refactor anything, just make sure users are able to login, view their profile, and logout using the example app.
Flutter Integration Testing Tutorial : https://www.youtube.com/watch?v=GuGdIg4iH_k