Skip to content

TR-22345: Added short README update for automatic creation of Automation ID - #474

Open
acuanico-tr-galt wants to merge 1 commit into
feature/TR-22344from
feature/TR-22345
Open

acuanico-tr-galt wants to merge 1 commit into
feature/TR-22344from
feature/TR-22345

Conversation

@acuanico-tr-galt

Copy link
Copy Markdown
Contributor

Updated README: 409 - 420

1. Using Automation ID (code-first approach)

To use this mechanism, you must first add a new custom field
of type Text or with system name automation_id.

Auto-creating the automation_id field: If the automation_id field doesn't exist yet in your TestRail instance, the CLI can create it for you (scoped to your current project, not globally) the next time it runs with --case-matcher auto and either -y or an interactive yes response. This requires TestRail Administrator rights for the account/API key being used; if the account lacks permission, the CLI will show a specific error explaining that admin rights are required. If the field already exists but is inactive or not scoped to your project, the CLI will not
attempt to create a duplicate - you'll need to fix its configuration manually in the TestRail Administration under Customizations > Case Fields, as described below.

The TestRail CLI will use the unique combination of your automation test case’s classname and name
(expressed as classname.name) to compare against values of the automation_id field in your TestRail test case repository.
If a match is found, this test case will be included in the auto-generated test run for this upload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant