scalatest / scalatestplus-mockito   3.2.19.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

ScalaTest + Mockito

ScalaTest + Mockito provides integration support between ScalaTest and Mockito.

Usage

To use it for ScalaTest 3.2.19 and Mockito 5.12.x:

SBT:

libraryDependencies += "org.scalatestplus" %% "mockito-5-12" % "3.2.19.0" % "test"

Maven:

<dependency>
  <groupId>org.scalatestplus</groupId>
  <artifactId>mockito-5-12_3</artifactId>
  <version>3.2.19.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