Skip to content

Could not find an option named "run-skipped". #3107

Closed

Description

@orestesgaolin

Describe the bug
After the today's update I get following error when trying to debug a widget test:

Could not find an option named "run-skipped".

The only additional argument passed to test run is --coverage and these tests worked before the update (in the morning).

image

To Reproduce
Steps to reproduce the behavior:

  1. Open test file
  2. Try to debug a test by clicking code lens label "Debug"
    image
  3. Observe error in the console

Expected behavior
Test should be debugged.

Screenshots

Versions (please complete the following information):

  • VS Code version: Version: 1.52.1
  • Dart extension version: v3.19.0
  • Dart/Flutter SDK version: 1.22.6

Activity

  1. added this to the v3.19.1 milestone on Jan 29, 2021
  2. added
    importantSomething important!
    in testingRelates to test execution of Dart/Flutter tests for end users
    on Jan 29, 2021
  3. DanTup commented on Jan 29, 2021

    @DanTup
    Member

    Thanks for the report! This seems to have occurred with the new "run skipped" feature. Flutter doesn't seem to support the flag.

    I'm testing a fix that removes that feature and will publish a new update soon, and the feature will return in a later release.

  4. orestesgaolin commented on Jan 29, 2021

    @orestesgaolin
    Author

    Thanks for the extremely quick response, really appreciate that

  5. DanTup commented on Jan 29, 2021

    @DanTup
    Member

    Please run the Extensions: Check for updates command in VS Code, and once you have v3.19.1 this should be resolved (it may take a few minutes to show up, there's a lot of caching in the VS Code marketplace services).

    Please let me know if still have any issues. Thanks!

  6. orestesgaolin commented on Jan 29, 2021

    @orestesgaolin
    Author

    Confirmed, it's fixed now. Thanks again

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