-
Notifications
You must be signed in to change notification settings - Fork 159
Coverage reports not generated in 1.3.5 plugin #161
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
Running Running So running |
Yes,
I am in the same boat as @hamiltondfp |
Problem Coverage reporting has changed in sbt-scoverage 1.3.5. This issue highlights the problem: scoverage/sbt-scoverage#161 Solution Add the needed step to the travis build configuration to properly generate coverage reports. Result Actual coverage reporting after the travis ci build runs. RB_ID=811398 TBR=true
Problem This commit causes downstream projects to fail as the autoplugin mechanism for the scoverage plugin is wreaking havoc when downstream projects: ostrich, scrooge and finatra try to run their tests. FileNotFoundExceptions are generated (the scoverage Invoker is getting run during tests which fails due to no coverage data being available at that time). An example failure: https://s3.amazonaws.com/archive.travis-ci.org/jobs/135689956/log.txt Additionally upgrading to scoverage plugin version 1.3.5 does not work with TravisCI because of these issues: scoverage/sbt-scoverage#161 scoverage/sbt-scoverage#146 Which caused us to back out of upgrading to scoverage 1.3.5 previously. The odd thing is that util built fine with these changes, unfortunately the downstream projects did not. Solution Revert commit, RB 837525 and update the .travis.yml. Result Downstream projects no longer fail to build. RB_ID=839869
Seeing that this is quite old and there are newer versions available, I'm going to go ahead and close. |
I noticed that when using sbt-scoverage plugin 1.3.5 that coverage reports are no longer generated using the command
I have to run a separate command now to generate the report
whereas in earlier versions of the plugin (e.g. 1.10) I could just run the first command and also get the coverage report at the end of my tests. What was the motivation for doing this? I see no difference now in running
sbt clean test
andsbt clean coverage test
in the newer release of the plugin.I have SBT 0.13.9 with Scala 2.11.7
The text was updated successfully, but these errors were encountered: