Interview frequency: …
Short answer
An integration test verifies a complete flow across the app and platform such as login or payment, but it is slower and more dependent on the environment.
Explanation
Use it for risks that unit or widget tests do not reveal, and define the test data and device state clearly. Do not turn every assertion into an integration test; keep most of the feedback in faster tests.
Common mistakes
- Running the integration suite for every small change.
- Leaving the backend or device state undefined, which leads to flaky results.