Skip to content

Add name property to testsuites element in generated JUnit XML #12736

@joseph-sentry

Description

@joseph-sentry

What's the problem this feature will solve?

Jest and Vitest JUnit Reporters do this, they include: jest tests and vitest tests as the value of the testsuites element's name property.

Describe the solution you'd like

The JUnit XML generated by pytest should always include pytest tests as the value of the name property of the testsuites element.

It's my opinion that this property should not be customizable., there should be some static information in the JUnit that represents the fact that pytest generated this file.

Alternative Solutions

There isn't any way to set or customize that property right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: junitxmlrelated to the junitxml builtin plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions