Skip to content

Empty xml files will generate generate <></> in the combined xml file making the xml file not valid. #365

@mj-schiphol

Description

@mj-schiphol

Hi,

First of all thanks for the great tool! ❤

We are using this to stitch together all our junit unit test reports that are part of a mono repo. However it can happen that we have empty junit.xml files for whatever reason.

When merging empty junit files together it will add <></> for the empty file in the merged file. This makes the xml file invalid and can't be used for further processing. I guess instead of adding <></> it will be better to add <testsuite name=""></testsuite>? This way the XML file remains valid and can be used for further processing?

Thanks 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions