I’m setting up integration tests in a Flutter project and noticed an inconsistency between the official documentation and the current state of the packages.
The official Flutter documentation still recommends using the integration_test package:
https://docs.flutter.dev/testing/integration-tests
However, when checking the package on pub.dev:
https://pub.dev/packages/integration_test
I noticed that:
It hasn’t received updates for more than 4 years
It is marked as discontinued
It shows incompatibility warnings with Dart 3
I’m not sure which parts are no longer working
Given this situation, what is the correct and up-to-date approach to write and run integration tests in Flutter?
Is there any alternative package officially recommended by the Flutter team or widely adopted by the community?
Or has the integration testing approach changed and moved to another tool or structure?
I’m looking for up-to-date guidance on what should be used in 2025 for integration testing in Flutter.