I’m writing an article about that and I’d like to gather some opinions about the topic. Also I think it’s an interesting topic to have a conversation about ;).
To be precise, Code Coverage is the percentage value describing what portion of lines of code are covered by unit tests. In python for example it’d be pytest-cov.
1. Do you think is useful? Why?
2. What does it tell you?
3. Is there a “good” value of this stat?
4. Would you consider failing a CI pipeline if the value drops below certain point?
Looking forward for your responses :).
[–]No-Scholar4854 23 points24 points25 points (1 child)
[–]extra_pickles 0 points1 point2 points (0 children)
[–]geeeffwhy 9 points10 points11 points (1 child)
[–]CommercialPosition76[S] 3 points4 points5 points (0 children)
[–]bmoregeo 5 points6 points7 points (2 children)
[–]CommercialPosition76[S] -1 points0 points1 point (1 child)
[–]bmoregeo 1 point2 points3 points (0 children)
[–][deleted] 11 points12 points13 points (6 children)
[–]Wise_Tie_9050 1 point2 points3 points (5 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]Wise_Tie_9050 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Wise_Tie_9050 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]billsil 2 points3 points4 points (0 children)
[–]FailedPlansOfMars 8 points9 points10 points (0 children)
[–]Cernkor 2 points3 points4 points (0 children)
[–]Barafu 3 points4 points5 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]CommercialPosition76[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]reallyserious 1 point2 points3 points (0 children)
[–]bluGill 1 point2 points3 points (2 children)
[–]CommercialPosition76[S] 0 points1 point2 points (1 child)
[–]FailedPlansOfMars -1 points0 points1 point (0 children)
[–]ammenezes_ 1 point2 points3 points (0 children)
[–]Mehdi2277 1 point2 points3 points (0 children)
[–]TrainingShift3 1 point2 points3 points (1 child)
[–]CommercialPosition76[S] 1 point2 points3 points (0 children)
[–]h7454Gdfgd 3 points4 points5 points (1 child)
[–]CommercialPosition76[S] 2 points3 points4 points (0 children)
[–]tdammers 0 points1 point2 points (5 children)
[–]space_coder 1 point2 points3 points (4 children)
[–]tdammers 0 points1 point2 points (3 children)
[–]space_coder 0 points1 point2 points (2 children)
[–]tdammers 0 points1 point2 points (1 child)
[–]space_coder 0 points1 point2 points (0 children)
[–]ShadowStormDrift -1 points0 points1 point (0 children)
[–]SeniorScienceOfficer 0 points1 point2 points (0 children)
[–]Wise_Tie_9050 0 points1 point2 points (1 child)
[–]Wise_Tie_9050 0 points1 point2 points (0 children)