allure-framework / allure-framework/allure-python

Robot Framework Allure listener generates a huge amount of files

Abierto
#814 6 comentarios 10 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
814
Forks
260
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**Describe the bug**
When I use the Allure listener with Robot-Framework, a huge amount of files are generated.
For example : around 3000 json & html files (13MB !) are generated for a couple of basics Robot-Framework tests.
The final Allure report generated from the same tests also contains around 1500 files (6MB).

This situation has a limited impact for some basics tests, but, in case of my real tests campaign, more than 800.000 files are generated, for more than 1GB size ! This lead to memory issues or disk spaces failures.

**To Reproduce**
Steps to reproduce the behavior:
1. Start a basic Robot-Framework test campaign with the Allure listener ( --listener "allure_robotframework;allure-export"
2. Check the number of files in the "allure-export" folder and its size.
3. Generate the Allure report from the previous export files.
4. Check the number of files in the report folder, and its size .

**Expected behavior**
The listener output and Allure report should be optimized to reduce number of files generated and their size.

**Environment (please complete the following information):**

Allure version: 2.12.1
Test framework: robotframework@3.0.2
Allure adaptor: allure-robotframework@2.8.6

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza reproduciendo el problema con el listener command de Robot Framework indicado e inspecciona las carpetas allure-export y generated report, comparando el número y el tamaño de los archivos. El payload no nombra archivos fuente ni tests, así que sigue los puntos de entrada de listener y report-generation a partir de esa reproducción; se considera terminado cuando haya sustancialmente menos archivos y una salida más pequeña sin perder contenido del informe.

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

Evaluación

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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.