reportportal / client-java

Asynchronous client for Java-based agents
Apache License 2.0
20 stars 30 forks source link

[Improve] Add for @TestCaseID abilities to add TMS link #209

Open tronstone opened 1 year ago

tronstone commented 1 year ago

Issue recreated due to no answer in last issue

Is your feature request related to a problem? Please describe. I would like to be able to link from the reportportal to a test case in the TMS

Describe the solution you'd like Provide markdown for @TestCaseID or better way make some customizer where I can say, that for all $test_case_id replace as https://tms.com/test_case_id. In RP it should looks like link with test_case_id

I don't really understand how I can link to a test case in TMS via a link issue. API doesn't allow to attach TMS link to PASSED, and API as a whole looks weird, it's obviously made for BTS and not for TMS:

image

I thought it was possible by reading this documentation: https://reportportal.io/docs/work-with-reports/TestCaseId/#what-is-it-test-case-id.

But no, you can't attach a link to the TMS through this mechanism. So I created a request for this function. If you know another way, please suggest it.

P.S Report Portal is better than allure in everything, but this particular feature from allure is still missing.

HardNorth commented 1 year ago

@tronstone Do you need a link to your Issue in the item description?

tronstone commented 1 year ago

@HardNorth There is already some functionality in the form of the @TestCaseId("id") annotation. Need to add a link to the test case from TMS to the example TestRail. Yes in Allure exactly this functionality is well implemented, I'm not talking about everything else (which is not very good). But it is this feature is so missing when you need to quickly go from ReportPortal to some TMS. image