Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for updating TestRail Cases during test report ingestion #272

Open
ablack-jpl opened this issue Sep 13, 2024 · 0 comments
Open

Support for updating TestRail Cases during test report ingestion #272

ablack-jpl opened this issue Sep 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ablack-jpl
Copy link

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

I'd like to be able to provide a flag at trcli runtime that caused the testcase on TestRail to be updated to match the local version derived from the XML input.

Why is this feature necessary on the TestRail CLI?

I want this because sometimes test cases change during development. Synchronizing a test description is simpler if the test case itself builds up the description or steps. This also eliminates a source of error in keeping the values aligned manually.

More details

Proposed behavior:

When the trcli tool is ran with a -u or --update flag...
trcli will examine the retrieved test cases against the matched internal TestRailCase representation objects.
If it detects a difference, it will prompt the user to see if they want to update the case on the TestRail host.
If the user confirms (or has also passed the autocreation flag), trcli will POST the representation to the TestRail host to update the case.
trcli behavior for non-matched cases will remain unchanged (creation)

Interested in implementing it yourself?

Yes

@ablack-jpl ablack-jpl added the enhancement New feature or request label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant