Skip to content

For multi package projects, total tests run gives total of last run package rather than total of all #3665

Closed

Description

@allicaDan

Description
Attached multi package project contains 25 tests. After running either Dart: Run All Tests or tapping the test panels' Run Tests button, the count of tests shows 12. Which looks like the same count as the last package ran

To Reproduce

  1. Open attached reproducing project
  2. run Dart: Run All Tests command
  3. See the testing panel output

Expected behavior
See the total count of passing tests 25

Screenshots
foldersAlongsideTerminal

testingPanel

seeCountChange.mov

Versions (please complete the following information):

  • VS Code version: 1.62.1
  • Dart extension version: v3.28.0
  • Dart/Flutter SDK version: 2.5.3 stable

Project to reproduce:
repro_workspace.zip

Activity

  1. added this to the v3.29.0 milestone on Nov 16, 2021
  2. added
    in testingRelates to test execution of Dart/Flutter tests for end users
    on Nov 16, 2021
  3. jeiea commented on Jan 5, 2022

    @jeiea

    I have similar issue with the latest version, but I can't determine whether this is a regression due to extension downgrade is stuck at selecting version to install. It may need a test.

  4. DanTup commented on Jan 5, 2022

    @DanTup
    Member

    @jeiea running the sample project above still shows 25 tests in the latest version for me. Could you file a new issue and include more details about what you're seeing and how to reproduce?

    There's a bug in VS Code which cases the extension version drop-down to populate very slowly for some extensions. If you leave it long enough it should populate (takes a minute or two for me), though you can also download the vsix files from the GitHub releases at https://github.com/Dart-Code/Dart-Code/releases and install them with the Install from VSIX command.

  5. DanTup commented on Jan 5, 2022

    @DanTup
    Member

    (please do file an issue whether the old version works or not though, as sticking on an old version isn't a sustainable solution :-))

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