Skip to content
This repository has been archived by the owner on Sep 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #78 from fernandoacorreia/fix-scoverage-test-compile
Browse files Browse the repository at this point in the history
Allow dead code in coverage testing
  • Loading branch information
fernandoacorreia committed Jan 22, 2014
2 parents 819e121 + a245ab0 commit f154a72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ scalacOptions in Test ~= { (options: Seq[String]) =>
options filterNot ( _ == "-Ywarn-dead-code" ) // Allow dead code in tests (to support using mockito).
}

scalacOptions in scoverageTest ~= { (options: Seq[String]) =>
options filterNot ( _ == "-Ywarn-dead-code" ) // The same when running under scoverage.
}

CoverallsPlugin.singleProject

defaultScalariformSettings

0 comments on commit f154a72

Please sign in to comment.