Skip to content

Add a way to set global properties in the JUnit output #1889

@sunshowers

Description

@sunshowers
  • Define a way to set arbitrary global properties. For example, a NEXTEST_JUNIT_PROPERTY_foo = bar environment variable that becomes a property foo = bar.
  • Make the root element a <testsuite>, not a <testsuites>. Nest <testsuite> elements for each binary within the parent <testsuite>. This is allowed by the XSD https://llg.cubic.org/docs/junit/ but some parsers might not like it so we might need to be careful.

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