Skip to content

Test error hides path to file on Test Results tab #5534

@FMorschel

Description

@FMorschel

Describe the bug
When a test errors, the Test Results tab stops showing the path to the file and that can make sibling-classes tests harder to debug to find which one broke.

To Reproduce
Steps to reproduce the behavior:

  1. Clone https://github.com/FMorschel/test_repro
  2. Run the dart tests

Expected behavior
The path to the file should show up on the Test Results tab even when errors occur.

Screenshots

Image

The same tests in Python (pytest) and JS (jest):

Image

Image

Please complete the following information:

Workspace Environment
Dart Code extension: 3.113.20250602
Flutter extension: 3.113.20250603 (not activated)

App: Visual Studio Code
App Host: desktop
Version: win 1.100.3

Workspace type: Dart (LSP)
Workspace name: test_repro

Dart (3.8.0): C:\Users\felip_0vh5fa6\.puro\shared\caches\18818009497c581ede5d8a3b8b833b81d00cebb7\dart-sdk
Flutter (3.32.0): C:\Users\felip_0vh5fa6\.puro\envs\stable\flutter (No device)

Output from 'dart info'

C:\Users\felip_0vh5fa6\.puro\shared\caches\18818009497c581ede5d8a3b8b833b81d00cebb7\dart-sdk\bin\dart.exe info

If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.

General info

  • Dart 3.8.0 (stable) (Wed May 14 09:07:14 2025 -0700) on "windows_x64"
  • on windows / "Windows 11 Pro" 10.0 (Build 26100)
  • locale is pt-BR

Project info

  • sdk constraint: '^3.8.0'
  • dependencies:
  • dev_dependencies: lints, test

Process info

Memory CPU Elapsed time Command line
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions