allure-python
allure-python copied to clipboard
Robot Framework Allure listener generates a huge amount of files
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:
- Start a basic Robot-Framework test campaign with the Allure listener ( --listener "allure_robotframework;allure-export"
- Check the number of files in the "allure-export" folder and its size.
- Generate the Allure report from the previous export files.
- 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: [email protected] Allure adaptor: [email protected]
+1
+1
My workaround for this is following:
- delete old allure results folder (in you example above its "allure-export" folder)
- run robot tests with listener normally
- to show trends in allure report, copy history folder under results folder (in you example it should go under "allure-export" folder)
- generate allure report with --clean option
any update about this bug?