Forum Discussion
If I have to achieve the same, here is what I would do.
- Execute the project so that it generates Junit Test Report in xml format
- Repeat this as many times as you want
- Make sure all the Report xml files in the same location.
- Now pass all the report files (TEST-*.xml) with regular expression to reporting task at the end.
And I believe that we do not have do any thing except that provide all the junit report xml file to transform into html. Just change of sequence. The generated report appears exactly what you wanted.
Personally do not use gradle, but ant and doing the above mention way to achieve the same. You should be able to achieve it using gradle too, I guess.
My earlier post gas the link to stackoverflis which explains how this can be done
- getarbind8 years agoOccasional Contributor
Thank you all for the valuable input.
There are multiple html report file are being generated for a single SoapUI project as part junit report generation so concatenating them all or concatenating corresponding html file will not meet the requirement where i need to have combined summary report.
nmrao Yes.. I am thinking in same line where we can merge the XML report collecting all testsuite elements from all XML reports and putting them together and then convert that into HTML so that i will have Combined summary report.
- nmrao8 years agoChampion Level 3getarbind,
Multiple file for single project? Strange.
Would you mind showing the below?
1. TEST-*.xml (you may replace orignal names with dummy
2. build.gradle file and what task are you calling?- getarbind8 years agoOccasional Contributor
This is files in report folder. It has all html and xml reports. Apart from this there is one subfolder which has couple of
supporting html files.
For 2nd point, I have got couple of report merger plugin. Need to check them and create task using those plugins.
https://github.com/bhovhannes/junit-report-merger#mergeFiles
Related Content
Recent Discussions
- 8 days ago