Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_with_coverage won't exit on flutter 3.22.0 #527

Open
rainyl opened this issue May 15, 2024 · 0 comments
Open

test_with_coverage won't exit on flutter 3.22.0 #527

rainyl opened this issue May 15, 2024 · 0 comments

Comments

@rainyl
Copy link

rainyl commented May 15, 2024

To reproduce

  1. update to Flutter 3.22.0, I use FVM
  2. dart create test_project
  3. cd test_project
  4. dart pub global run coverage:test_with_coverage --package . --package-name test_project
  5. The command won't exit

Output:

dart pub global run coverage:test_with_coverage --package . --package-name test_project
00:00 +0: loading test\test_project_test.dart
00:00 +0: test\test_project_test.dart: calculate
00:00 +1: All tests passed!

Note that although it said All tests passed! but the command won't exit and noting in coverage directory

Additional Informations:

flutter doctor -v
[√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.22631.3527], locale zh-CN)
    • Flutter version 3.22.0 on channel stable at C:\Users\rainy\scoop\persist\fvm\versions\stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5dcb86f68f (6 days ago), 2024-05-09 07:39:20 -0500
    • Engine revision f6344b75dc
    • Dart version 3.4.0
    • DevTools version 2.34.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\rainy\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Users\rainy\scoop\apps\android-studio\current\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.8.34330.188
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2023.1)
    • Android Studio at C:\Users\rainy\scoop\apps\android-studio\current
    • 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
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10550314)

[√] VS Code, 64-bit edition (version 1.89.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.86.0

[√] VS Code, 64-bit edition (version 1.90.0-insider)
    • VS Code at C:\Program Files\Microsoft VS Code Insiders
    • Flutter extension version 3.89.20240501

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22631.3527]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 124.0.6367.92
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 124.0.2478.97

[√] Network resources
    • All expected network resources are available.

• No issues found!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants