test2junit icon indicating copy to clipboard operation
test2junit copied to clipboard

Has anyone created a way to consolidate the xml files

Open JeffAtAtl opened this issue 7 years ago • 1 comments

I would like to have this plug-in or an additional plug-in that would take the output and consolidate them into one single file. I guess I could put all my tests into one namespace.

JeffAtAtl avatar Jan 30 '19 15:01 JeffAtAtl

Hi,

thanks a lot for your feedback an apologies for the late reply.

I started to look into this but I cannot say if I will have the time for implementing this functionality.

Nonetheless, a bit more information about your use case will be helpful, just in case, I manage to spend some time on this:

  • What use case are you aiming at?
  • One simple way of implementing this I can think of would be to "squash" all results in a "pseudo catch all namespace". However, this would loose the namespace specific information and some information like test execution time per namespace would not be available.
  • A more complicated way for doing this would be to add tags for each namespace. However, I need to check if the resulting XML output would still be compliant to the JUnit XML format.
  • Is compatibility with the JUnit XML format important.

Cheers,

Ruediger

ruedigergad avatar Feb 10 '19 20:02 ruedigergad