You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
in Kiwi TCMS we are seeing failures parsing different XML files. The main difference is that some of them contain <testsuites> tag while others don't, see: kiwitcms/junit.xml-plugin#9
What would be a good way to discover the varying formats so we can adjust our parsing tools?
The text was updated successfully, but these errors were encountered:
Sorry for not seeing this earlier. This library is just a wrapper over an xml file for easy processing. What I can think of is something similar to the last comment in the thread you posted:
if xml._tag == "testsuites":
cases = [case for cases in xml for case in cases]
else:
cases = list(xml)
Hello,
in Kiwi TCMS we are seeing failures parsing different XML files. The main difference is that some of them contain
<testsuites>
tag while others don't, see:kiwitcms/junit.xml-plugin#9
What would be a good way to discover the varying formats so we can adjust our parsing tools?
The text was updated successfully, but these errors were encountered: