Registry / testing / specs2-matcher-extra-2-11

specs2-matcher-extra-2-11

JSON →
library4.10.6javamavenunverified

Additional matchers for the Specs2 testing library, providing extra assertion capabilities.

<dependency> <groupId>org.specs2</groupId> <artifactId>specs2-matcher-extra_2.11</artifactId> <version>4.10.6</version> </dependency>
INSTALL
IMPORT
SIG · SPECS2-MATCHER-EXT
S
specs2-matcher-extra-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.

Matchers
org.specs2.matcher.Matchers

Uses Specs2 matchers to assert list size.

import org.specs2.mutable.Specification import org.specs2.matcher.Matchers class MySpec extends Specification with Matchers { "A list" should { "have size 3" in { List(1, 2, 3) must haveSize(3) } } }
Debug
Known issues
breakingThis artifact is for Scala 2.11, which is outdated; consider upgrading to a newer Scala version.
fix
Use the artifact for Scala 2.13 or 3.x (e.g., specs2-matcher-extra_2.13).
affects: >=4.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-matcher-extra-2-11 — mvn dependency:get specs2-matcher-extra-2-11 · libregistry