-
-
Notifications
You must be signed in to change notification settings - Fork 747
Closed
Description
I'm submitting a ...
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
Allure report generated using JUnit XML plugin from a file without "message" attribute in "failure" tag does not provide any opportunities to expand stack trace.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
- Generate report using JUnit XML plugin (allure generate xmlReportsFolder).
- Open report.
- Check block with stacktrace:
XML example:
TEST-withoutMessage.xml
What is the expected behavior?
Some opportunity to see a stack trace.
Something like this (without failure message ofc):
XML example:
TEST-withMessage.xml
What is the motivation / use case for changing the behavior?
This kind of XML reports is generated by instrumentation tests in Android. And it's not depending on how tests are written.
Please tell us about your environment:
Allure version | 2.6.0 |
---|---|
Test framework | junit@4.12 |
Allure adaptor | - |
Generate report using | cmd |
Other information
I guess that this bug may be fixed by adding some default value for a message field in JUnit plugin.
Generated json for failed test:
allure-report/data/test-cases/failedTest.json
Metadata
Metadata
Assignees
Labels
No labels