Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Does not find uncovered sinatra routes #135

Closed
antondalgren opened this issue Feb 10, 2021 · 1 comment
Closed

Does not find uncovered sinatra routes #135

antondalgren opened this issue Feb 10, 2021 · 1 comment

Comments

@antondalgren
Copy link

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

@grodowski
Copy link
Owner

@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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants