Skip to content

File artifacts message is not printed when running with an out-of-proc extension #7471

@Youssef1313

Description

@Youssef1313

Run the following:

dotnet run --report-trx --no-build --crashdump

It prints:

Test Parallelization enabled for C:\Users\ygerges\Desktop\testfx\artifacts\bin\Playground\Debug\net9.0\Playground.dll (Workers: 20, Scope: MethodLevel)

Test run summary: Passed! - C:\Users\ygerges\Desktop\testfx\artifacts\bin\Playground\Debug\net9.0\Playground.dll (net9.0|x64)
  total: 2
  failed: 0
  succeeded: 2
  skipped: 0
  duration: 202ms

This is unexpected. I would expect MTP to print the file path where TRX is produced, and I can confirm the file exists on disk correctly.

When running without --crashdump, I get the expected message and the output is as following:

Test Parallelization enabled for C:\Users\ygerges\Desktop\testfx\artifacts\bin\Playground\Debug\net9.0\Playground.dll (Workers: 20, Scope: MethodLevel)

  In process file artifacts produced:
    - C:\Users\ygerges\Desktop\testfx\artifacts\bin\Playground\Debug\net9.0\TestResults\ygerges_YOUSSEF_2026-02-26_16_53_26.6579232.trx

Test run summary: Passed! - C:\Users\ygerges\Desktop\testfx\artifacts\bin\Playground\Debug\net9.0\Playground.dll (net9.0|x64)
  total: 2
  failed: 0
  succeeded: 2
  skipped: 0
  duration: 223ms

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions