jerry-git / jerry-git/pytest-split

Interaction with pytest fixtures

Abierto
#61 1 comentario 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
325
Forks
56
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Several tests in in my code use fixtures, and from looking at the durations file generated by pytest-split it seems like the time for creating those fixtures gets assigned to the first test that calls for them. However, when the tests are split, it splits them in such a way that the fixture has to be created multiple times in different jobs. Is it possible to include the fixture creation time into account somehow, or to keep tests that share fixtures together where possible?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by reviewing how pytest-split reads its generated durations file and how pytest fixture setup time is attributed to tests. Define whether completion means accounting for fixture creation time, keeping tests that share fixtures together, or both, then verify the chosen behavior across split jobs.

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

Evaluación

Stack tecnológico
python
Área
testing-qa
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.