Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 0 commits into from

Conversation

IvanBuruyane
Copy link
Contributor

@IvanBuruyane IvanBuruyane commented Aug 25, 2023

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

@CLAassistant
Copy link

CLAassistant commented Aug 25, 2023

CLA assistant check
All committers have signed the CLA.

@IvanBuruyane
Copy link
Contributor Author

IvanBuruyane commented Feb 20, 2024

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

@delatrie
Copy link
Contributor

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants