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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -