Skip to content

Fix JSON output of libtest #132135

Open
Open
@oriongonza

Description

@oriongonza

Right now the JSON output of libtest is a bit unusable. It outputs all of the json messages to stdout where they get mixed with the rest of the stdout.

It would be nice to be able to output it to a file (it shouldn't particularly hard to do since the OutputFormatter only requires Write) and also to be able to customize what the json formatter outputs.

@rustbot tag +T-bootrstap

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-libtestArea: `#[test]` / the `test` libraryC-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-testing-devexRelevant to the testing devex team (testing DX), which will review and decide on the PR/issue.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions