gurock / trcli

TR CLI (trcli) is a command line tool for interacting with TestRail.
Mozilla Public License 2.0
48 stars 39 forks source link

Add the ability to pass in the `include_all` api parameter when creating a Test Run through the CLI. #141

Open williamatpaper opened 1 year ago

williamatpaper commented 1 year ago

What would you like the TestRail CLI to be able to do?

When creating a new test run using the cli commands, I would like to be able to adjust the "include_all" parameter to be true or false.

https://github.com/gurock/trcli/blob/main/trcli/data_providers/api_data_provider.py#L78

Why is this feature necessary on the TestRail CLI?

My team creates a test run each morning with all of the tests in it in order for staging to be considered viable. This test run contains ALL of the cases within test rail. Each morning we run through our automated tests and link them up to that test run, and then manually tests anything that is Untested and marks the test run case as passed/failed.

In order for me to handled this with the CLI, I would need to make an api call to the "add_run" endpoint (default for include_all is true here). Then pas that test run id into the testrailCLI command.

More details

No response

Interested in implementing it yourself?

Maybe, let's talk!

jakec-routable commented 1 week ago

@williamatpaper this PR adds what you need. If you agree, leave a comment on the PR and maybe we'll get some traction.