Skip to content

Args from launch configuration was ignored when running a test from codeLens #3462

@HelloCore

Description

@HelloCore

Describe the bug
When running a test from codeLens, it doesn't pass args from the launch config.

To Reproduce

  1. git clone https://github.com/eBay/flutter_glove_box.git
  2. code flutter_glove_box/packages/golden_toolkit/
  3. Go to example/test/example_test.dart
  4. Click on Golden button on top of main function

Expected behavior
It should pass args from launch.json.

Versions (please complete the following information):

  • VS Code version: 1.57.1
  • Dart extension version: 3.24.1
  • Dart/Flutter SDK version: 2.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsin 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