Should the coverage badge be mandatory? #34
-
See the repository requirements:
In Java it is not possible to collect coverage information for our custom instrumentations (technical reasons; the coverage tool cannot measure javaagent code), so no matter how many tests we have the number will always be 0. Same for our smoke tests. Should we relax the requirement on the coverage badge to SHOULD? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Technically, we can try to run our tests with both otel javaagent and jacoco. I believe we even did that in Plumbr, @vovencij @agoallikmaa ? |
Beta Was this translation helpful? Give feedback.
-
Only if it is green :) |
Beta Was this translation helpful? Give feedback.
-
If there are legitimate reasons, which it sounds like there are, why a requirement may not be satisfied and not cause compatibility or security issues in doing so, it seems that yes the requirement should be made a recommendation. |
Beta Was this translation helpful? Give feedback.
-
I have some pretty strong philosophical issues with using code coverage metrics as anything more than just raw information, so I'd recommend against putting badges about them in the repository READMEs. |
Beta Was this translation helpful? Give feedback.
If there are legitimate reasons, which it sounds like there are, why a requirement may not be satisfied and not cause compatibility or security issues in doing so, it seems that yes the requirement should be made a recommendation.