Skip to content

Add attribute file to JUnit XML report to accommodate CircleCI algorithm for splitting tests #264

@yterradas

Description

@yterradas

Hi,

CircleCI allows to split tests by timings using a JUnit XML report. Unfortunately it requires testcase to have an file attribute in order to properly work as detailed in this CircleCI forum question. I have confirmed it by manipulating the JUnit XML report output of gotestsum. I understand that file is not part of the JUnit XSD but it would really help if it could be added to the output if the user wanted it. What are your thoughts?

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