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

tms link pattern missing in behave #785

Open
1 of 3 tasks
harmin-parra opened this issue Dec 25, 2023 · 0 comments
Open
1 of 3 tasks

tms link pattern missing in behave #785

harmin-parra opened this issue Dec 25, 2023 · 0 comments
Labels
task:improvement Change that improves some user experience but can't be considered a new feature theme:behave

Comments

@harmin-parra
Copy link

harmin-parra commented Dec 25, 2023

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

The documentation mentions:

  • Annotation for links
  @allure.link:https://dev.example.com/
  @allure.issue:UI-123
  @allure.tms:TMS-456
  • Link patterns configuration
[behave.userdata]
AllureFormatter.link_pattern = {}
AllureFormatter.issue_pattern = https://github.com/allure-framework/allure-python/issues/{}
AllureFormatter.hide_excluded = true

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

How am I suppose to get the test case links if I don't have a way to provide Behave the link pattern ?

Is AllureFormatter.tms_pattern missing?

What is the expected behavior?

I should have AllureFormatter.tms_pattern so that @allure.tms decorators generate the right url link in the report.

What is the motivation / use case for changing the behavior?

I want to add tms link in a easy way, instead of using the generic @allure.link decorator.
The Pytest implementation offers the --allure-link-pattern tms:https://github.com/allure-framework/allure-python/issues/{} link pattern.
Why is the Behave implementation lacking the tms link pattern configuration ?

Please tell us about your environment:

Other information

@delatrie delatrie added theme:behave task:improvement Change that improves some user experience but can't be considered a new feature labels Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task:improvement Change that improves some user experience but can't be considered a new feature theme:behave
Projects
None yet
Development

No branches or pull requests

2 participants