-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Unable to modify xml reports #2381
Comments
@KKoukiou can you take a look at this? |
@FuriousDuck @RonnyPfannschmidt I took a look at this issue. Thanks, |
Thanks for looking into it @KKoukiou. |
@FuriousDuck any feedback? |
Glad I came across this. I was following this StackOverflow post as a guide. I also experienced the same issue with trying to append to However, @KKoukiou suggestion worked for me for stdout or stderr. This is a gem. I couldn't find any documentation describing the right way to modify report sections. |
Added docs in #2567 |
So sorry, missed my part. Like people said, @KKoukiou suggestion works great. Thank you |
It seems that this commit has broken an ability to modify stderr(out) via reporting hooks in xml reports which was pretty useful (because xml reports do not attach custom sections and record_xml_property doesn't work with pytest-xdist)
This code
is adding some strings to 'Captured stdout call' section of report. After this commit, strings are still visible in console log, but not in xml
The text was updated successfully, but these errors were encountered: