Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "number of tests passed" endpoint #490

Open
heythisischris opened this issue Nov 18, 2024 · 2 comments
Open

Add "number of tests passed" endpoint #490

heythisischris opened this issue Nov 18, 2024 · 2 comments
Assignees
Labels
API bountied https://bbertucc.notion.site/Bug-Bounties-37cb0c61fb2d4bb984a78cc6e4b4aa56

Comments

@heythisischris
Copy link
Member

heythisischris commented Nov 18, 2024

Overview

Per Gen Herres request:

hello again, for reporting info to clients, one of the biggest asks is always “what is the number of tests passed / percentage of tests passed”. I don’t see anything obvious to me to help get that info. Is there anything anywhere?

I propose adding a simple endpoint, GET /stats which takes either a reportId, propertyId, or urlId param. It then returns the requested stats:

{
	"equalified": 12,
	"active": 24,
	"total": 36,
	"tests_passed": 5,
	"tests_passed_percentage": 0.2
}

Requested bounty

I predict this will take 1 hour to develop/deploy.

@heythisischris heythisischris self-assigned this Nov 18, 2024
@bbertucc bbertucc added this to the December 2 Sprint milestone Nov 19, 2024
@bbertucc bbertucc added the bountied https://bbertucc.notion.site/Bug-Bounties-37cb0c61fb2d4bb984a78cc6e4b4aa56 label Nov 19, 2024
@bbertucc
Copy link
Member

Approved.

@bbertucc
Copy link
Member

Just adding a note that this falls into the "issue density" feature discussed in #373.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API bountied https://bbertucc.notion.site/Bug-Bounties-37cb0c61fb2d4bb984a78cc6e4b4aa56
Projects
None yet
Development

No branches or pull requests

2 participants