Unit testing Authentication functionality in App
Unit testing Authentication functionality in App
Test Cases for Hive Storage
- User loggedIn return true
- Not LoggedIn return false
Flutter BloC test cases
- yield AuthenticationLoaded on successful login
- yield AuthenticationError on unsuccessful login
Auth Client Test Cases
- response code 200 - successful login
- response code 401 - unauthorized (wrong credentials)
- Socket Exception - no internet connection