Skip to content

Regression: vs code test explorer skips unit tests since v0.3.2353 #19464

@soerenkoehler

Description

@soerenkoehler

steps to reproduce:

  • in VSCode install current version v0.3.2353 (bug still exists in v0.3.2370)
  • in test explorer click "Run Tests"
  • result:
    • test explorer / rust-analyzer seem to test dependencies instead of my code
      ra-strange-test-output.txt
    • integration tests run, but not the unit tests
      Image

counter check for verification:

  • install v0.3.2345
  • in test explorer click "Run Tests"
  • result:

rust-analyzer version:
Identifier: rust-lang.rust-analyzer
Version: 0.3.2353
Last Updated: 2025-03-27, 21:29:57

rustc version: rustc 1.85.1 (4eb161250 2025-03-15)

editor or extension: VSCode (Win11, WSL2)
Version: 1.98.2 (user setup)
Commit: ddc367ed5c8936efe395cffeec279b04ffd7db78
Date: 2025-03-12T13:32:45.399Z
Electron: 34.2.0
ElectronBuildId: 11161602
Chromium: 132.0.6834.196
Node.js: 20.18.2
V8: 13.2.152.36-electron.0
OS: Windows_NT x64 10.0.22631

relevant settings: ---

repository link (if public, optional): https://github.com/soerenkoehler/rs-chdiff/tree/bug-test-explorer-rust-analyzer

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions