-
Notifications
You must be signed in to change notification settings - Fork 159
coverage of entire project #112
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
Comments
The |
Hmm, it not sure it does that. I'm seeing 0% coverage outside my top level module |
yeah, |
So your tests for A are actually part of B. Then yeah that wouldn't work. On 29 June 2015 at 17:42, Sam Halliday notifications@github.com wrote:
|
Yeah, kind of. The point is that I have integration tests (which live in B) and I want to see what parts of the code are dead across the project. |
I guess it could be done. Worst case is you could do sbt compile as two separate things that would result in the profile data. Then sbt report (or something) to clean up after. On 29 June 2015 at 18:02, Sam Halliday notifications@github.com wrote:
|
Does this workaround fix your case? When run on the example project quoted there, tests in the "core" project add to coverage measured on the "utils" project. |
I'm using ver 1.3.1 to produce coverage reports where some of the tests in project A cover classes in project B and it's working well for me. |
It looks like the coverage report for a module is only gathered for tests run in that module.
I'd like to be able to see the coverage of my entire (multi module) project when I run some integration tests... to see what I can delete 😄 ... is that possible?
The text was updated successfully, but these errors were encountered: