Skip to content

Test Analytics Filtering #672

Open
Open
@tarungunampalli1

Description

@tarungunampalli1

What product do you want to improve?
(e.g., Uploader, Web application, CLI, browser extension, Slack App, etc)

Codecov API

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I would like to be able to fetch data about current test failure rates to determine which tests are flaky/unreliable.

Describe the solution you'd like
Currently, the Test Results list endpoint doesn't even return the failure rate, although this is specified in the documentation. In addition, I would like to be able to filter by flag, branch, and failure rate, to only get tests that are above a certain failure rate that are part of a certain test suite, and filter to only those run on our master branch. Finally, the Test Results List endpoint doesn't return aggregate data, but returns a list of all individual test runs. Aggregate data about test failure rates is much more useful.

Describe alternatives you've considered
There don't appear to be any alternatives. I can emulate the graphql call that is made from the Codecov website to fetch aggregate metrics, but this is unreliable and relies on short lived tokens for auth.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions