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 for new report type: MarkdownTableShortSummary #667

Closed
alexandrehtrb opened this issue May 7, 2024 · 2 comments
Closed

Suggestion for new report type: MarkdownTableShortSummary #667

alexandrehtrb opened this issue May 7, 2024 · 2 comments

Comments

@alexandrehtrb
Copy link

alexandrehtrb commented May 7, 2024

Hello,

First, thanks for this tool.

I would like to propose a new report type, that makes a short Markdown table with just the global and analysed assemblies' coverages. It would be good for commenting in a pull request.

Level above or equal 80% makes green label, else, red. Something like this:


Unit tests code coverage Line coverage Branch coverage

Assembly Line coverage Branch coverage
MySolution.Domain 94.4% 82.4%
MySolution.Application 74.7% 81.3%

### Unit tests code coverage ![Line coverage](https://img.shields.io/badge/lines-92.7%25-080) ![Branch coverage](https://img.shields.io/badge/branches-72.2%25-800)

| Assembly | Line coverage | Branch coverage |
|---|---|---|
| **MySolution.Domain** | 94.4% | 82.4% |
| **MySolution.Application** | 74.7% | 81.3% |
@danielpalme
Copy link
Owner

Will consider this in the next release!

@danielpalme
Copy link
Owner

Release 5.3.0 now contains a new report type 'MarkdownAssembliesSummary'

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

No branches or pull requests

2 participants