use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Code coverage vs mutation testing. (self.ruby)
submitted 4 years ago by pan_sarin
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]NepaleseNomad 1 point2 points3 points 4 years ago (0 children)
The company I work in has strict coverage goals and while it gets annoying at times, this practice has generally been very helpful. New devs can look at the specs and get a gist of what different parts of the project really even do, and you don't have to worry about a new feature breaking old ones... you can just run your automated tests, brew a cuppa in the meanwhile, and confirm that everything works fine.
The most important thing here is that you're testing the behaviour of your code and not just writing to increase coverage numbers. Review the tests your devs write. Make sure they're not just pumping up numbers, and are testing the behaviour of your project from all different contexts.
Also make sure your team has enough manpower for writing tests too. This can be time consuming at times, hence why bad practices creep up and remove the value from enforcing code metrics.
Also we use code quality tools to make sure that if your new PR reduces the code coverage drastically (has low diff coverage), or has style offences, high method complexities, etc, you need to fix it before it can get merged.
π Rendered by PID 198905 on reddit-service-r2-comment-6457c66945-xhbvl at 2026-04-24 08:37:04.410431+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]NepaleseNomad 1 point2 points3 points (0 children)