java.lang.RuntimeException: Coverage minimum was not reached

GitHub | jeschkies | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp , Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Upgrade sbt-dependency-graph to 0.8.2 or later.
  2. 0
    samebug tip
    You're using incompatible versions of Scala and ScalaTest. If you're using Scala 2.11.x you should use ScalaTest 2.11. You can add this libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.0" % "test" to build definitions to avoid this issue.
  3. 0

    Test coverage is not checked in CI

    GitHub | 4 months ago | jeschkies
    java.lang.RuntimeException: Coverage minimum was not reached
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    This bug happens from SDK 8 b117 to SDK 8 b122, try updating to 122 or further to fix it.
    via GitHub by imeredith
  6. 0

    GitHub comment 153#183236829

    GitHub | 1 year ago | gslowikowski
    java.lang.Exception: Fatal: scalac-scoverage-plugin not in libraryDependencies

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Coverage minimum was not reached

      at scoverage.ScoverageSbtPlugin$.scoverage$ScoverageSbtPlugin$$checkCoverage()
    2. scalac-scoverage-plugin
      ScoverageSbtPlugin$$anonfun$coverageReport0$1.apply
      1. scoverage.ScoverageSbtPlugin$.scoverage$ScoverageSbtPlugin$$checkCoverage(ScoverageSbtPlugin.scala:261)
      2. scoverage.ScoverageSbtPlugin$$anonfun$coverageReport0$1.apply(ScoverageSbtPlugin.scala:125)
      3. scoverage.ScoverageSbtPlugin$$anonfun$coverageReport0$1.apply(ScoverageSbtPlugin.scala:104)
      3 frames
    3. Scala
      Function1$$anonfun$compose$1.apply
      1. scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
      1 frame
    4. SBT
      $tilde$greater$$anonfun$$u2219$1.apply
      1. sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
      1 frame
    5. sbt Task system
      Transform$$anon$4.work
      1. sbt.std.Transform$$anon$4.work(System.scala:63)
      1 frame
    6. SBT
      CompletionService$$anon$2.call
      1. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
      2. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:228)
      3. sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
      4. sbt.Execute.work(Execute.scala:237)
      5. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
      6. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:228)
      7. sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
      8. sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
      8 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames