mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-18 04:39:14 +00:00
Ignore inaccurate coverage of rake tasks
I tried several ways to get code coverage for rake tasks but I haven't succeeded yet. Somehow rake is confusing simplecov.
This commit is contained in:
@@ -12,7 +12,9 @@ SimpleCov.start 'rails' do
|
||||
add_filter '/script'
|
||||
add_filter '/log'
|
||||
add_filter '/db'
|
||||
add_filter '/lib/tasks/sample_data/'
|
||||
|
||||
# We haven't managed to make simplecov recognise rake coverage accurately.
|
||||
add_filter '/lib/tasks/'
|
||||
|
||||
formatter SimpleCov::Formatter::SimpleFormatter
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user