Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

tms link pattern missing in behave

Abierto
#785 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
testing

Línea de trabajo

Comienza con la configuración de Behave AllureFormatter y la anotación @allure.tms descritas en el issue; después, compáralas con la implementación de patrones de enlaces de Pytest y su opción --allure-link-pattern. Se considera terminado cuando Behave acepta una configuración AllureFormatter.tms_pattern y los enlaces @allure.tms generan la URL configurada en el informe.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
Python
Estrellas
819
Forks
261
Merge medio
3 h 20 min
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de allure-framework/allure-python

Todos los issues de allure-framework/allure-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.