Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default filters for Rails profile exclude unexpected files #514

Closed
grzesiek opened this issue Jul 22, 2016 · 1 comment
Closed

Default filters for Rails profile exclude unexpected files #514

grzesiek opened this issue Jul 22, 2016 · 1 comment
Labels

Comments

@grzesiek
Copy link

grzesiek commented Jul 22, 2016

Currently, default profile for :rails adds some filters, for example /config/ and /db/ filters.

Because of how filters are implemented this will also exclude files located in /lib/module/my/config/for/something/ which is a little unexpected.

It would be great to make it possible to improve files to match against relative routes like \A/config/ or something like that, what do you think?

Thanks for the great work with SimpleCov!

@PragTob
Copy link
Collaborator

PragTob commented Jan 29, 2017

Hey there,

thanks for the issue report!

That seems like a problem indeed 😄 Imo the default profile should only exclude files in the root config folder.

@PragTob PragTob added the Bug label Feb 4, 2017
jsteel pushed a commit to jsteel/simplecov that referenced this issue Jun 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants