allure-python icon indicating copy to clipboard operation
allure-python copied to clipboard

Add logs, stdout and stderr to the allure-pytest-bdd report

Open IvanBuruyane opened this issue 2 years ago • 3 comments

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:

example

Checklist

IvanBuruyane avatar Aug 25 '23 09:08 IvanBuruyane

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 25 '23 09:08 CLAassistant

Is there anybody who can take a look at this PR? @veryhappythings @janza @middagj

IvanBuruyane avatar Feb 20 '24 10:02 IvanBuruyane

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:

delatrie avatar Feb 20 '24 11:02 delatrie