JUnit failure message is ignored
Summary
GitLab CI JUnit reports currently totally ignore message
attribute of the <failure>
element.
Steps to reproduce
Run any test suite that will get that as an JUnit report:
<?xml version="1.0"?>
<testsuites>
<testsuite errors="0" failures="1" name="Elixir.ElixirJunitTestsTest" tests="3" time="0.00">
<testcase classname="Elixir.ElixirJunitTestsTest" name="test knows answer to the life, the universe, and the everything" time="0.00">
<failure message="error: Assertion with == failed
code: assert ElixirJunitTests.answer() == 42
left: 666
right: 42
"> test/elixir_junit_tests_test.exs:10: ElixirJunitTestsTest."test knows answer to the life, the universe, and the everything"/1
</failure>
</testcase>
<testcase classname="Elixir.ElixirJunitTestsTest" name="test greets the world" time="0.00"/>
<testcase classname="Elixir.ElixirJunitTestsTest" name="doctest ElixirJunitTests.hello/0 (1)" time="0.00"/>
</testsuite>
</testsuites>
Example Project
(If possible, please create an example project here on GitLab.com that exhibits the problematic behaviour, and link to it here in the bug report)
(If you are using an older version of GitLab, this will also determine whether the bug has been fixed in a more recent version)
What is the current bug behavior?
I do not see message
attribute value anywhere:
What is the expected correct behavior?
Value of the message
attribute anywhere in the UI.
Results of GitLab environment info
GitLab version: 11.4