You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure whether this is a bug or a feature... But I feel like it's a bug.
I have a SBT-project in the being, which currently has just one submodule. But it will have more the in the future, so that's why I figured multi-project setup would be appropriate.
Running sbt coverageAggregate gives the following output:
[info] Aggregating coverage from subprojects...
[info] Found 1 subproject report files [<project dir>/<submodule dir>/target/scala-2.11/scoverage-report/scoverage.xml]
[info] No subproject data to aggregate, skipping reports
It makes sense, since CoverageAggregator#aggregate explicitly checks to see if more than one file has been found.
I'd expect that aggregation of results also works if exactly one file would've been found.
If this is indeed a bug, let me know, I think I can contribute a simple PR for this 😃.