allure-python
allure-python copied to clipboard
Add logs, stdout and stderr to the allure-pytest-bdd report
Context
Currently allure report for the pytest-bdd framework doesn't include logs, stdout and stderr created during test run. It makes hard to understand what was the root cause of the test failure. In order to fix this I simply added the code from the allure-pytest listener that adds logs, stdout and stderr to the report. Here's a screenshot from the report with logs:
Checklist
- [x] Sign Allure CLA
- [x] Provide unit tests
Is there anybody who can take a look at this PR? @veryhappythings @janza @middagj
Hi, @IvanBuruyane !
Thank you for your contribution. That's a useful feature, but it should be covered with tests.
Please, add some tests. Here are links that might help you with that: