mhernz · GitHub

Describe the bug
When launching a test with Flutter integration_test on a device or emulator, there is no feedback besides a spinner on "Dart" in the "Test Results" sidebar indicating that a build is occurring. Sometimes this spinner doesn't appear either

This is especially problematic when trying to run tests on multiple targets at the same time

To Reproduce

  • Create a test with IntegrationTestWidgetsFlutterBinding.ensureInitialized();
  • Click Debug button in file or Debug Tests in explorer view

Expected behavior
There should be a popup notification and some lines in debug console indicating a build is occurring, like when you perform a regular app run

Screenshots
Only after the build is complete is a debug console tab created and the "Running Gradle task..." message appears
Image

Image

Please complete the following information:

You can run the Dart: Collect Diagnostic Information command from the VS Code command palette (F1) to easily capture this information or provide it manually.

  • Operating System and version: macOS 15.5
  • VS Code version: Cursor 1.4.3
  • Dart extension version: 3.116.0
  • Dart/Flutter SDK version: Dart 3.8.1/Flutter 3.32.8
  • Target device (if the issue relates to Flutter debugging): Android emulator

Read the original on github.com ↗