Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ Options:
be duplicated in TestRail [x>=1]
-u, --username Username.
-p, --password Password.
-k, --key API key.
-k, --key API key used for authenticating with TestRail.
This must be used in conjunction with --username.
If provided, --password is not required.
-v, --verbose Output all API calls and their results.
--verify Verify the data was added correctly.
--insecure Allow insecure requests.
Expand All @@ -78,10 +80,10 @@ Options:
--help Show this message and exit.

Commands:
add_run Add a new test run in TestRail
parse_junit Parse JUnit report and upload results to TestRail
parse_openapi Parse OpenAPI spec and create cases in TestRail
parse_robot Parse Robot Framework report and upload results to TestRail
add_run Create a new test run (useful for CI/CD flows prior to parsing results)
```

Uploading automated test results
Expand Down
2 changes: 1 addition & 1 deletion trcli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def main(self, *args, **kwargs):
)
@click.option("-u", "--username", type=click.STRING, metavar="", help="Username.")
@click.option("-p", "--password", type=click.STRING, metavar="", help="Password.")
@click.option("-k", "--key", metavar="", help="API key.")
@click.option("-k", "--key", metavar="", help="API key used for authenticating with TestRail. This must be used in conjunction with --username. If provided, --password is not required.")
@click.option(
"-v", "--verbose", is_flag=True, help="Output all API calls and their results."
)
Expand Down