Closed dominicwilliamslandmark closed 10 months ago
Would be great if someone could work on this, have been trying to resolve this and it's hard to handle when we know only run title.
@mnataraj17 To what I'm doing, we can choose from some other options while waiting for the enhancement:
What would you like the TestRail CLI to be able to do?
It would be helpful if we're able to specify either a directory or multiple files for the -f flag instead of one single file.
Alternatively could there be a --run-name similar to --run-id, which we can use if we don't know the run ID. This would allows us to run multiple scripts and upload the results to the same test run as we'd be able to specify the run name as we don't know the run ID that the cli creates.
Ultimately, it's just providing the ability to uploading result from multiple XML files to the same run id which will be created by the cli.
Why is this feature necessary on the TestRail CLI?
We sometimes split our test runs in our pipeline which generates multiple XML files. Currently we're unable to create 1 test run which contains the results as the cli doesn't accept multiple result files.
In your article here - https://www.gurock.com/testrail/introducing-the-testrail-cli/ it suggests running the script multiple times which we can do, but if we create a run id on the first execution we don't know the run id for the second execution. The cli fails if you use the same name.
More details
No response
Interested in implementing it yourself?
No