scalatest / scalatestplus-mockito   3.2.18.0

Apache License 2.0 GitHub

ScalaTest + JMock provides integration support between ScalaTest and Mockito.

Scala versions: 3.x 2.13 2.12 2.11 2.10

ScalaTest + Mockito

ScalaTest + Mockito provides integration support between ScalaTest and Mockito.

Usage

To use it for ScalaTest 3.2.18 and Mockito 5.10.x:

SBT:

libraryDependencies += "org.scalatestplus" %% "mockito-5-10" % "3.2.18.0" % "test"

Maven:

<dependency>
  <groupId>org.scalatestplus</groupId>
  <artifactId>mockito-5-10_3</artifactId>
  <version>3.2.18.0</version>
  <scope>test</scope>
</dependency>

Note Mockito 5.x requires JDK11+, if you are on JDK8, please use mockito-4-11 instead.

Publishing

Please use the following commands to publish to Sonatype:

$ sbt +publishSigned