Skip to content

Testsuites tag in Junit xml is not handled #9

Description

@hhajni

In order to make this plugin work with the JUnit xmls of my automated tests, I have to remove the XML tag testsuites

In the JUnitParser documentation (https://pypi.org/project/junitparser/) the example shows the levels correctly:
image

The plugin on the other hand assumes that after reading the file, the next level are the testcases:
xml = JUnitXml.fromfile(junit_xml) for xml_case in xml: summary = "%s.%s" % (xml_case.classname, xml_case.name)

Please fix it to avoid the extra step before using the plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions