Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

tms link pattern missing in behave

Aperta
#785 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
testing

Direzione di ricerca

Inizia con la configurazione di Behave AllureFormatter e l’annotazione @allure.tms descritte nell’issue, quindi confrontale con l’implementazione dei pattern dei link di Pytest e la relativa opzione --allure-link-pattern. Il lavoro è completato quando Behave accetta un’impostazione AllureFormatter.tms_pattern e i link @allure.tms generano nel report l’URL configurata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

task:improvement theme:behave
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
Lingua principale
Python
Stelle
817
Fork
262
Merge medio
3h 20m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di allure-framework/allure-python

Tutte le issue di allure-framework/allure-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.