Skip to content

test: add -json flag #4780

Open
Open
@leongross

Description

@leongross

For large-scale analysis of unit test results, getting the output in machine parsable formats such as json can be useful. In golang, this can be done by passing the -json flag to go test.
Tinygo currently does not support this feature, although it would be beneficial; we should add it.

Intuitively I think the easiest way to integrate this is using the test2json internal package used in biggo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions