Skip to content

Json test output formatter should represents "test_count" as a json string instead of a number #53866

Closed
@cwndrws

Description

@cwndrws

The output of a test suite starting when using the json formatter represents "test_count" as a json string, like so:

{ "type": "suite", "event": "started", "test_count": "1" }

I would expect it to be a number like this:

{ "type": "suite", "event": "started", "test_count": 1 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-libtestArea: `#[test]` / the `test` libraryT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions