-
Notifications
You must be signed in to change notification settings - Fork 291
Open
Open
Copy link
Labels
Area: MTPBelongs to the Microsoft.Testing.Platform core libraryBelongs to the Microsoft.Testing.Platform core libraryArea: MTP ExtensionsArea: TRX
Milestone
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: MTPBelongs to the Microsoft.Testing.Platform core libraryBelongs to the Microsoft.Testing.Platform core libraryArea: MTP ExtensionsArea: TRX