single_cov
single_cov copied to clipboard
Actionable code coverage.
Using `===` instead of `==` could allow for a range of declared uncovered lines. This could encompass the variability of running under different versions of rails, for example or having...
does not allow lines + oneshot_lines ... and finding the uncovered lines from an array that only has lines means we would have to read the file and then parse...
``` # Running: ..............................lib/secrets.rb new uncovered lines introduced (3 current vs 0 configured) Lines missing coverage: lib/secrets.rb:18:5-36 lib/secrets.rb:20:5-63 lib/secrets.rb:21:5-28 ```
``` if false puts 1 end ``` produces missing coverage for line 1-3, which is misleading