diff --git a/README.md b/README.md index 62a7e776..ea80424a 100644 --- a/README.md +++ b/README.md @@ -94,16 +94,6 @@ If you are running into a scenario where your tests normally pass, but fail when then the most common culprit is timing issues on futures and other async operations. Scoverage does a lot of file writing behind the scenes in order to track which statements have been executed, and this slows down tests slighly, so try upping the timeouts by an order of magnitude. -## Parallel test execution - -Due to a bug in SBT, parallel text execution is disabled. You can enable it again by - -```scala -parallelExecution in Test := true, -``` - -But if you run into an error like "cannot create classes.bak" note this is not an scoverage bug, but an SBT bug. - ## Coveralls If you have an open source project then you can add code coverage metrics with the excellent website http://coveralls.io. Scoverage will integrate with coveralls using the [sbt-coveralls](https://github.com/scoverage/sbt-coveralls) plugin. diff --git a/src/main/scala/scoverage/ScoverageSbtPlugin.scala b/src/main/scala/scoverage/ScoverageSbtPlugin.scala index 8a147209..12280a20 100644 --- a/src/main/scala/scoverage/ScoverageSbtPlugin.scala +++ b/src/main/scala/scoverage/ScoverageSbtPlugin.scala @@ -117,12 +117,7 @@ class ScoverageSbtPlugin extends sbt.AutoPlugin { coverageOutputHTML := true, coverageOutputCobertua := true, coverageOutputDebug := false, - coverageCleanSubprojectFiles := true, - - // disable parallel execution to work around "classes.bak" bug in SBT - parallelExecution in Test := false, - - parallelExecution in IntegrationTest := false + coverageCleanSubprojectFiles := true ) private def postTestReport = { @@ -250,4 +245,4 @@ class ScoverageSbtPlugin extends sbt.AutoPlugin { s.log.info(s"All done. Coverage was [$cfmt%]") } -} \ No newline at end of file +}