Show coverage summary on terminal
See original GitHub issueToday at the end of the tests msbuil/.net tool drivers show a table with coverage result on console. For instance:
Calculating coverage result...
Generating report '/home/vsts/work/1/s/test/coverlet.core.tests/coverage.opencover.xml'
+------------------------------------+--------+--------+--------+
| Module | Line | Branch | Method |
+------------------------------------+--------+--------+--------+
| coverlet.tests.projectsample.empty | 0% | 100% | 0% |
+------------------------------------+--------+--------+--------+
| coverlet.msbuild.tasks | 0% | 0% | 0% |
+------------------------------------+--------+--------+--------+
| coverlet.core | 83.65% | 78.2% | 84.07% |
+------------------------------------+--------+--------+--------+
+---------+--------+--------+--------+
| | Line | Branch | Method |
+---------+--------+--------+--------+
| Total | 71.74% | 69.83% | 61.9% |
+---------+--------+--------+--------+
| Average | 27.88% | 59.4% | 28.02% |
+---------+--------+--------+--------+
This is not supported at the moment for vstest collectors integration.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:11
Top Results From Across the Web
Command line usage — Coverage.py 7.3.0 documentation
Coverage summary : coverage report For each module executed, the report shows the count of executable statements, the number of those statements missed,...
Read more >Show coverage summary on terminal · Issue #681
Today at the end of the tests msbuil/.net tool drivers show a table with coverage result on console. For instance: Calculating coverage result.....
Read more >How to get the code coverage report using Jest?
Navigate to your repo and search for coverage/lcov-report/index.html. Then you can visually see all the coverage areas. enter image description ...
Read more >Jest code coverage report explained
When looking at the summary table, it can be very hard to determine where you are missing coverage! ... This command will generate...
Read more >Show Code Coverage on GitLab CI
In this blog post I will show how to display the code coverage number ... to display the coverage text summary which prints...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We use an another approach with the coverlet vstest collector on GitLab. Coverlet is configured to output the results as opencover format. After the test run a script extracts the coverage from the report and prints it to console.
Thanks @MarcoRossignoli for working on this issue ASAP. this is the biggest blocker for us, using the vstest collector.