Closed pixilation closed 1 year ago
Hi there @pixilation
Thanks for submitting this! Version 1.3.1 should also have this one fixed, do you mind confirming and closing the issue if everything's ok? :)
Thanks, I can confirm this is working as expected now.
The message "Warning: Case duplicates detected in collated_tests.xml. This will result in improper results setting." is appearing when the above steps are run, but there are no duplicates added. I think this can probably be removed, at least for this scenario. I'm not worried about it though.
TestRail CLI Version
1.3.0
CLI Environment
Windows 11, Python 3.10.4
TestRail Version
7.5.5
TestRail Instance Type
Professional Cloud
Current behavior
Testcases with duplicate names (but unique name+classname / automation_id) are causing duplicate testcases to be added. This behaviour occurs when a new testcase is added. When there are no new testcases to add it doesn't happen.
When this happens the CLI shows this: "Warning: Case duplicates detected in mytests.xml. This will result in improper results setting."
Any occurrences of a testcase name beyond the first are duplicated.
The run will only include results for 1 of each name, regardless of how many occurrences there are.
Desired behavior
I would expect that no duplicates are created, and that the run includes all the results.
More Details
No response