Registry / testing / specs2-mock-2-11

specs2-mock-2-11

JSON →
library4.10.6javamavenunverified

Mocking support module for the specs2 testing library for Scala 2.11.

<dependency> <groupId>org.specs2</groupId> <artifactId>specs2-mock_2.11</artifactId> <version>4.10.6</version> </dependency>
INSTALL
IMPORT
SIG · SPECS2-MOCK-2-11
S
specs2-mock-2-11
testingjavav4.10.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mockito
org.specs2.mock.Mockito

Extends Mockito trait to use mocking in specs2 tests.

import org.specs2.mock.Mockito; public class ExampleSpec extends Mockito { // Use mock() and other methods }
Debug
Known issues
breakingScala 2.11 is outdated; consider upgrading to Scala 2.13 or 3.
fix
Use specs2-mock_2.13 or specs2-mock_3 instead.
affects: >=4.0.0
Upgrade
Version history
4.10.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Resources
specs2-mock-2-11 — mvn dependency:get specs2-mock-2-11 · libregistry