-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
This is the inverse of #2648.
To better evaluate the CI (Jenkins) results, it would be great to have the collected logging information available in the results.xml
.
@pytest.mark.parametrize("count", range(5))
def test_logging_to_xml(count):
"""Write report to XML -> warnings should be there too"""
logging.info("This is just information")
logging.warning("Something went sideways %i", count)
assert False
I'd would like to see the captured log lines
INFO root:tests_helper.py:52 This is just information
WARNING root:tests_helper.py:53 Something went sideways 4
in my results.xml
file.
Metadata
Metadata
Assignees
Labels
No labels