So I'm working on this codebase that has about 50k lines of code and I built a feature in it today. Spent 3hours on the feature + writing tests. Then I raised a pull request and that bastard codeclimate calculated the test coverage had dropped by 0.3%.

For 6hours now I'm still looking for a way to increase the test coverage by 0.2%. FML

  • 3
    The nasty parts of code coverage are often with robustness code in error handling for things that shouldn't happen in the first place.
  • 2
    @Fast-Nop the codebase is quite neat. I just can't find somewhere to write tests for 😅
  • 1
    That's exactly the kind of metric blocker that makes this industry so exceedingly stupid.
  • 0
    You should try sonarQube..
Add Comment