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

Coverage Question: How do I inhibit vendor/bundle/... from coverage? #344

Closed
vanboom opened this issue Oct 31, 2014 · 2 comments
Closed

Comments

@vanboom
Copy link

vanboom commented Oct 31, 2014

I am testing projects using Gitlab and Gitlab-CI builds. On the Gitlab-CI runner, the build script is such...

git pull origin
bundle install --deployment
bundle exec rake spec

I noticed that the coverage report for this build has 10x the number of LOC and is pulling in all of the gems installed in ./vendor/bundle/...

Is this behavior intended? Should I filter vendor/bundle manually?

thanks.

@vanboom
Copy link
Author

vanboom commented Oct 31, 2014

I may have found the answer...

I was starting SimpleCov without the 'rails' argument.

@bf4
Copy link
Collaborator

bf4 commented Oct 31, 2014

Also see #340

@bf4 bf4 closed this as completed Oct 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants