-
Notifications
You must be signed in to change notification settings - Fork 553
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
ActiveSupport::Concern coverage #167
Comments
I've found that this Just Works™ if your concern test is also in a concern folder like so:
This is in line with the behavior I have otherwise seen in SimpleCov where it does not include files in coverage reports where it cannot find the corresponding test.
Note the changing total LOC covered. |
Recommend closing until/unless this can be verified on modern versions.
I cannot observe this in my current project. |
I can confirm I am experiencing this as well, in 0.10.0 |
@DannyBen please open a new issue describing your version, your test suite, how your running your tests, your gem statement in your gemfile, and where you require/configure simplecov (and reference this issue), as well as expected and observed output. Thanks! Any code that let's us reproduce the problem is a big help |
Hello,
I have this structure:
app/models/concerns/api/account.rb
Added via application.rb:
My model
app/models/account.rb
The coverage report does not include
app/models/concerns/api/account.rb
at all.I tried to
add_group
, no dice.The text was updated successfully, but these errors were encountered: