tmt: Record each failure reported within one testcase
One testcase can report multiple failures by {tmt,rstrnt,rhts}-report-result helper.
Now the junit reporter only reports one failure message for a failed testcase, no matter how many sub failures reported.
By adding this we can make the result more accurate and convenient for analysis.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 22
Hi @jencce, I’ve made a few more code pushes to 2689 and I’d like to know does the following meet your requirements.
main.fmf content used for testing
Output of the tmt test execution.
Generated junit.xml file
Able to reproduce with a simple config:
This results into two tests reported by the
displayplugin:And just one reported by the
junitplugin:@happz, what’s interesting that we get the same
serialnumberfor both:@pfdaly, fyi.