undercover icon indicating copy to clipboard operation
undercover copied to clipboard

Does not find uncovered sinatra routes

Open antondalgren opened this issue 3 years ago • 1 comments

Undercover does not find this uncovered sinatra route:

get '/dummy_path' do
  puts "This line is not covered"
end

git diff master:

+    get '/dummy_path' do
+      puts "This line is not covered"
+    end

undercover -c master:

undercover: ✅ No coverage is missing in latest changes
Undercover finished in 0.0505s

simplecov HTML formatter output: image

antondalgren avatar Feb 10 '21 09:02 antondalgren

@antondalgren hi and thanks for reporting! There's a known edge-cases that might or may not be related to this: #83. Can you include a sample file that shows this behaviour? I'll look into it

grodowski avatar Feb 24 '21 10:02 grodowski