Skip to content

Testing: The command line is too long. #3855

Closed

Description

@lloydrichards

Describe the bug
When trying to run all tests, I get a message in the debug console

The command line is too long.
Exited (1)

To Reproduce
Steps to reproduce the behavior:

  1. Have over 400 tests
  2. Click the Testing tab in VSCode
  3. Click the Run Tests button
  4. Watch the emulator spin up, then close and see message

Expected behavior
Until yesterday it was running as expected, but since my last batch of tests this has started happening.

Screenshots
image

Versions (please complete the following information):

  • VS Code version: 1.64.2
  • Dart extension version: v3.37.20220301
  • Dart/Flutter SDK version: 2.16.1/2.10.2

Activity

  1. added this to the v3.38.0 milestone on Mar 3, 2022
  2. added
    in testingRelates to test execution of Dart/Flutter tests for end users
    on Mar 3, 2022
  3. added a commit that references this issue on Mar 3, 2022
    a6e4e0b
  4. DanTup commented on Mar 3, 2022

    @DanTup
    Member

    I've made a new pre-release extension build that includes a fix for this. If you want to try it out without waiting for the next stable version, you can switch to the pre-release versions of the extensions in VS Code using the buttons shown in the screenshot below.

    Dart/Flutter pre-release versions

    Please let me know if you hit any issues. Thanks!

  5. lloydrichards commented on Mar 3, 2022

    @lloydrichards
    Author

    just tested it out and it working perfectly again! thank you so much! your turnaround on these issues are amazing :D

  6. DanTup commented on Mar 3, 2022

    @DanTup
    Member

    Great, glad to hear! No problem, thanks for the report (and sorry for the inconvenience!) :-)

  7. added a commit that references this issue on Sep 2, 2025
    fac8c20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in testingRelates to test execution of Dart/Flutter tests for end usersis bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions