Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adramalech opened this issue Sep 7, 2024 · 4 comments

Comments

@adramalech
Copy link

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

@FeyFre
Copy link

FeyFre commented Nov 4, 2024

Second this! Attempted both wildcard path and concrete filepath.

@danjus10
Copy link

Same issue for me, I also attempted to use path-replace-backslashes: true with no luck. as windows is creating some funky \ / paths.

@Qoopi
Copy link

Qoopi commented Nov 11, 2024

Did anybody get to this point?
Screenshot 2024-11-11 at 2 07 20 PM
And by the way, does dotnet-nunit reporter work?
When I tried to use it, it said this was an invalid reporter.

@danjus10
Copy link

Did anybody get to this point? Screenshot 2024-11-11 at 2 07 20 PM And by the way, does dotnet-nunit reporter work? When I tried to use it, it said this was an invalid reporter.

I used ./**/*.trx for path. same

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants