test-reporter icon indicating copy to clipboard operation
test-reporter copied to clipboard

Problem with figuring out the correct path argument to find .trx files.

Open adramalech opened this issue 5 months ago • 0 comments

Running on windows-2019.

I am seeing Error: No test report files were found when I have tried numerous ways to expose the generated .trx files with dotnet-trx to be reported on.

I would like to know the general rule on file path structure. I have a '{{ github.worspace }}\TestResults\*.trx' and it is failing to find the path. I tried **\*.trx and that failed too. I tried many other combinations **\*.trx, etc.. and they all came back with the same results.

vstest.console.exe outputs Results File: D:\a\web\web\TestResults\Website.trx

And then the output of the recent runs has also erred with:

Warning: No file matches path D:\a\web\web\**\*.trx

No file matches path D:\a\web\web\TestResults\*.trx

adramalech avatar Sep 07 '24 19:09 adramalech