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 test coverage summary to report comment #28

Open
tobiasbueschel opened this issue Jan 12, 2021 · 2 comments
Open

Add test coverage summary to report comment #28

tobiasbueschel opened this issue Jan 12, 2021 · 2 comments

Comments

@tobiasbueschel
Copy link

@mattallty what do you think about adding a summary of the overall test coverage report to the reporting comment, for example like this:


File % Stmts % Branch % Funcs % Lines
All files 91.2 94.15 90.42 81.55
Test coverage detailed results

... detailed results https://github.com//issues/27

@Jacse
Copy link

Jacse commented Jan 24, 2021

We've done something like that in https://github.com/FirmNav/jest-code-coverage-commenter/blob/master/src/code-coverage.ts which may work for inspiration

@MishaKav
Copy link

I find the solution in a similar package
https://github.com/marketplace/actions/jest-coverage-comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants