Skip to content

Test formatters do not generate test file path information #116614

Open
@yqiu24

Description

@yqiu24

Problem

The output of the test formatters --format=junit and --format=json don't include the source test file information, which is available in the source_file property of TestDesc (here). This information would help us with test parsing in CI and better ownership attribution (based on file owners).

Note: For --format=json, this is printed with the --list option, but not in the actual test result event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-libtestArea: `#[test]` / the `test` libraryC-bugCategory: This is a bug.T-libsRelevant to the library team, which will review and decide on the PR/issue.T-testing-devexRelevant to the testing devex team (testing DX), which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions