Skip to content

Output machine readable details of the upload #94

@brentahughes

Description

@brentahughes

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

When using this tool as part of a CI pipeline it would be nice to have some output like JSON with all the ids created or used so they can be used by futures steps in the ci. Currently it requires additional api calls after the run to get the information.

IE:

trcli --output=json ...

{
  "suite_id": 202,
  "run_id": 24,
  "sections_added": 1, 
  "cases_added": 445,
  "runs_added": 823
}

Why is this feature necessary on the TestRail CLI?

The testrail API has some low limits, if we already have the id's as a result of the upload then it can be provided to stdout.

More details

No response

Interested in implementing it yourself?

Maybe, let's talk!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions