[FEATURE] Coverage test command
See original GitHub issueOverview of the issue
It would be great if I could call compodoc to test for documentation coverage with a certain threshold, e. g. calling compodoc --coverage-test 90
should return truthy if the project has least 90% documentation coverage and throw an error otherwise.
Motivation for or Use Case
This would allow to use compodoc for checking documentation coverage on a CI server.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Configuring code coverage in Jest, the right way
In this brief tutorial we see how to configure code coverage for Jest, the right way.
Read more >Improve Code Quality Using Test Coverage - CODE Magazine
In this article, I'll introduce the concept of code coverage by exploring the value of measurements such as statement coverage, function ...
Read more >Test Coverage Techniques: The Top Ones You Need - Testim.io
Test coverage is the process you use to determine whether you're testing everything you're supposed to test. It allows you to check the...
Read more >Code Coverage vs Test Coverage: A Detailed Guide
Branch Coverage : This is used to ensure that every branch in a decision-making process is executed. · Function Coverage: This ensures that...
Read more >Code coverage testing - Visual Studio (Windows)
To determine what proportion of your project's code is being tested by coded tests such as unit tests, you can use the code...
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
Yes, it is the expected behavior. Just parse the file, compute coverage, and stop with exit code 0 or 1.
Basiscally: 0 if coverage is above threshold and 1 if it isn’t. The command should fail if the coverage test doesn’t succeed.