You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have an option to set a per-file minimum coverage. Currently coverage only fails if the entire codebase falls below the threshold even though a single file could be completely undocumented.
I'm using the coverageTest in CI but if someone doesn't document it does not necessarily fail the test.
Reproduce the error
Have a codebase of a certain coverage percentage (say 50%) and at least one file with a lower/no coverage. Run compodoc --coverageTest 50 and see that the test succeeds.
Suggest a Fix
I would like to have an optional flag to set the per-file minimum coverage like --coverageMinimum 30.
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.
lockbot
locked as resolved and limited conversation to collaborators
Oct 1, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Overview of the issue
I would like to have an option to set a per-file minimum coverage. Currently coverage only fails if the entire codebase falls below the threshold even though a single file could be completely undocumented.
Operating System, Node.js, npm, compodoc version(s)
OSX, NPM@5.4.0, Compodoc@1.0.1
Compodoc installed globally or locally ?
Installed v1.0.1 locally
Motivation for or Use Case
I'm using the coverageTest in CI but if someone doesn't document it does not necessarily fail the test.
Reproduce the error
Have a codebase of a certain coverage percentage (say 50%) and at least one file with a lower/no coverage. Run
compodoc --coverageTest 50
and see that the test succeeds.Suggest a Fix
I would like to have an optional flag to set the per-file minimum coverage like
--coverageMinimum 30
.The text was updated successfully, but these errors were encountered: