-
-
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
result log to include stdout\err #116
Comments
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): its not clear how to extend the format in a backward compatible way however the junitxml output already includes stdout/stderr |
Original comment by Armin Rigo (BitBucket: arigo, GitHub: arigo): Just did it for the pytest included in PyPy: https://bitbucket.org/pypy/pypy/commits/768f274ab83b9f01d5d3a8461120215a20caa5f4 |
Related to #830. |
Originally reported by: Anonymous
Currently, if one writes a test similar to:
def test_foo():
print 'error!!!'
raise Exception()
and runs it with
py.test --resultlog=res.txt
the results file doesn't include the string error written to stdout.
Thank you very much!
py.test is a great product
The text was updated successfully, but these errors were encountered: