flutter-intellij
flutter-intellij copied to clipboard
Run test from file doesn't base the created run configuration on the Flutter Test template, at least for Additional Args
Steps to Reproduce
New test run configurations created when running from file are not based on the Flutter Test template, at least for Additional Args. Creating a new test configuration from scratch (Run Configurations -> Add new -> Test Flutter) works as expected
Steps to reproduce
Edit Configurations -> Edit Configurations templates -> Flutter Test -> set Additional Args to --no-sound-null-safety
Run test from file (play/debug icon)
Expected
New test configuration created when running test from file has the Additional Args correctly filled in
Actual
New test configuration is created successfully but the Additional Args are missing
Version info
[!] Flutter (Channel unknown, 3.7.12, on macOS 14.3.1 23D60 darwin-arm64, locale en-CH)
! Flutter version 3.7.12 on channel unknown at ...
Currently on an unknown channel. Run flutter channel to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
! Unknown upstream repository.
Reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
• Framework revision 4d9e56e694 (11 months ago), 2023-04-17 21:47:46 -0400
• Engine revision 1a65d409c7
• Dart version 2.19.6
• DevTools version 2.20.1
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Platform android-34, build-tools 34.0.0 • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1) • Build 15A507 • CocoaPods version 1.14.3
[!] Android Studio (version 2023.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio.