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:

  1. added file '.simplecov' project root
  2. 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

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -