scalaprops.TestExecutorImpl.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalaprops_sjs0.6_2.12.0-RC1 Show documentation
Show all versions of scalaprops_sjs0.6_2.12.0-RC1 Show documentation
property based testing library for Scala
The newest version!
package scalaprops
import scala.concurrent.duration.Duration
import sbt.testing.Logger
object TestExecutorImpl {
private[this] val instance = new TestExecutor {
override def execute[A](timeout: Duration)(f: => A): A = f
override def shutdown(): Unit = {}
}
def withExecutor[A](logger: Logger)(f: TestExecutor => A): A =
f(instance)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy