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

Unable to use glob with junit, if there's only one file returned by the glob pattern #241

Closed
PierrePaul opened this issue Jun 27, 2024 · 0 comments · Fixed by #242
Closed
Labels
bug Something isn't working

Comments

@PierrePaul
Copy link
Contributor

TestRail CLI Version

1.9.5

CLI Environment

docker python 3.12

TestRail Version

TestRail v8.0.4 Default (7036)

TestRail Instance Type

Professional Cloud

Current behavior

Im using cypress, while doing my tests to integrate with testrail, I was running just one test. So only one .xml file is being generated.
Since I'm planning for the future, Im using trcli with a glob pattern (-f "reports/TEST-*.xml"), but since there's only file, the junit_xml parser doesn't have anything to merge.

It currently returns the filepath (which includes the glob pattern instead of the real filepath).

Desired behavior

I would expect trcli to select the right file and upload it.

More Details

No response

@PierrePaul PierrePaul added the bug Something isn't working label Jun 27, 2024
PierrePaul added a commit to PierrePaul/trcli that referenced this issue Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant