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

no coverage data for at least one model #182

Closed
garyfoster opened this issue Dec 10, 2012 · 3 comments
Closed

no coverage data for at least one model #182

garyfoster opened this issue Dec 10, 2012 · 3 comments
Labels

Comments

@garyfoster
Copy link

I have about a dozen or so models in my Ruby on Rails app and the user model is not getting any coverage. I know that code in the user.rb is running and I even have several explicit tests against the model itself. I'm not sure where to begin to troubleshoot this, any advice?

@colszowka
Copy link
Collaborator

It appears this one model might be loaded before simplecov runs. Are you sure simplecov is loaded as the very first thing? What test framework are you using?

@garyfoster
Copy link
Author

I'm not sure which of my projects had this problem as it's been a while but the first one I tried seems to be working now. If it occurs again, I'll create a simple test case and post the details. I suppose this can be closed for now, thanks.

@garyfoster
Copy link
Author

have since found that this issue is same as #42

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