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

Using annotation @TestRail(id = "C123") add property with key "case_id" that does not match property key "test_id" required by testrail-cli #2

Closed
Nerthal opened this issue Jun 29, 2023 · 5 comments

Comments

@Nerthal
Copy link

Nerthal commented Jun 29, 2023

According to the test rail specification (https://github.com/gurock/trcli#2-using-case-id-specification-first-approach) property used to find test rail cases by id is named "test_id". However when using annotation @testrail and giving case id in the xml report property with a key "case_id" is added making this annotation unusable (https://github.com/gurock/testrail-junit-extensions#testrail-annotation).

Can you update this annotation to use the property key supported by the cli?

@kopytovskiy
Copy link

Also faced with a same issue. @d-rede could you please have a look?

@kopytovskiy
Copy link

kopytovskiy commented Oct 6, 2023

#3

I have added the changes to a project. @d-rede could you check this MR please?

@d-rede
Copy link
Contributor

d-rede commented Oct 11, 2023

Hello @kopytovskiy
I'm no longer the maintainer of this project. @bitcoder should follow-up on the issue.

@bitcoder
Copy link
Collaborator

On it!

@bitcoder
Copy link
Collaborator

bitcoder commented Oct 11, 2023

A quick analysis tells that trcli uses the property "test_id". I left some few comments on your PR. Can you please have a look at it?

bitcoder added a commit that referenced this issue Oct 18, 2023
fix #2 by using test_id property
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

No branches or pull requests

4 participants