Skip to content
This repository was archived by the owner on Aug 12, 2021. It is now read-only.
This repository was archived by the owner on Aug 12, 2021. It is now read-only.

Support json format for --list #23

Description

@dzfranklin

I'd like to be able to get a json-formatted list of the tests and benches. This isn't a huge deal, because the output is pretty simple to parse with regex.

Expected:

> test_binary -Z unstable-options --list --format json
[{name: "foo", type: "test"}]

Actual:

> test_binary -Z unstable-options --list --format json
foo: test

1 test, 0 benchmarks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions