ruby on rails - Is there a way to exempt files / folders from Coveralls test coverage scoring? -
my team using coveralls.io in our ci process give rspec coverage score. we're using activeadmin gem internal use , decision made not cover activeadmin functionality in our test coverage. know how can exempt /app/admin folder coveralls doesn't drag our score down?
how able solve this:
- added file '.simplecov' project root
in '.simplecov' added code:
require 'simplecov' require 'coveralls' simplecov.formatter = coveralls::simplecov::formatter simplecov.start add_filter 'app/admin' end
basic instructions on functionality described @ https://github.com/colszowka/simplecov#string-filter
Comments
Post a Comment