Skip to content

Add flag to prefix testsuite name #100

Open
@bbrks

Description

@bbrks

I would like the ability to prefix the testsuite name with a custom string.

This will allow me to run tests, and generate unique XML reports for various combinations of $GOOS, $GOARCH, and other custom build tags.

E.g: -package-prefix="linux/arm/"

<testsuite ... name="linux/arm/github.com/example/example">

This is mainly so that I can have Jenkins read multiple junit reports, and aggregate them in a single pipeline job:

Screenshot 2020-01-14 at 12 40 27

Would you be open to a PR that adds a flag that will prepend something to the test suite package name like above?

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