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

suggestion: have deno coverage --html generate coverage badge #23671

Open
iuioiua opened this issue May 3, 2024 · 0 comments
Open

suggestion: have deno coverage --html generate coverage badge #23671

iuioiua opened this issue May 3, 2024 · 0 comments
Labels
suggestion suggestions for new features (yet to be agreed)

Comments

@iuioiua
Copy link
Collaborator

iuioiua commented May 3, 2024

Like how code coverage services do. You can put the badge in the README of your package and have it link to the output generated from deno coverage --html in /coverage/html/index.html. This would remove the need for developers to sign up for 3rd party coverage services.

It'd be cool if the badge's background corresponded with the amount of coverage, too. For example, red would indicate 0% coverage, and green would indicate 100% coverage.

From the Standard Library:
codecov

@iuioiua iuioiua added the suggestion suggestions for new features (yet to be agreed) label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion suggestions for new features (yet to be agreed)
Projects
None yet
Development

No branches or pull requests

1 participant