2

The title mostly speaks for itself. To be more specific, it would seem to make sense to me that Simplecov be configured to only focus on directories like the app directory instead of including all of the configuration files and such that are going to be covered no matter what and are left unchanged.

Ten Bitcomb
  • 2,316
  • 1
  • 25
  • 39

1 Answers1

4

Try this in your Simplecov config

SimpleCov.start do
 add_filter "/folder you don't want covered/"
end

A default filter automatically keeps Simplecov in your app/ directory.

See the docs for filters here

Chase
  • 2,748
  • 2
  • 23
  • 32