When posting test case results back to TestRail there are often times where we want to pass up custom fields to populate. This adds the ability to set those custom results
Changes
Adds a new --result-fields property to the parse_junit command similar to how --case-fields works. If added, these will get applied to the add_results_for_cases api call.
Issue being resolved: https://github.com/gurock/trcli/issues/106
Solution description
When posting test case results back to TestRail there are often times where we want to pass up custom fields to populate. This adds the ability to set those custom results
Changes
Adds a new
--result-fields
property to theparse_junit
command similar to how--case-fields
works. If added, these will get applied to theadd_results_for_cases
api call.In the below example
adds in the
custom_env
property to the call:Steps to test
Add a
--result-fields custom_env:1
to the call including a-v
to see the new property being added to theadd_results_for_cases
api call.PR Tasks