I have a small to mid sized application having several individual components (eg:- primary button) and several screens (eg:- login screen) where screens are a composition of these individual components and other flutter built in widgets.
Should I be writing widget tests for individual components to check edge cases like handling long texts and overflow issues on smaller or larger devices or write widget tests for entire screens? Here I'll only be testing the cosmetic behaviour of the application screens or widgets?
As for integration testing, I'm assuming it would test the entire functionality of the app, i.e. the screens using blocs (PS: I'm using flutter bloc and redux in conjunction)