Add details to error message for junit (#7390)

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
David Diaz Barquero
2020-06-23 10:03:46 -06:00
committed by GitHub
parent 3624acb665
commit 617bf8be5b
3 changed files with 29 additions and 8 deletions
+13
View File
@@ -0,0 +1,13 @@
``--junitxml`` now includes the exception cause in the ``message`` XML attribute for failures during setup and teardown.
Previously:
.. code-block:: xml
<error message="test setup failure">
Now:
.. code-block:: xml
<error message="failed on setup with &quot;ValueError: Some error during setup&quot;">