Registry / testing / specs2-junit-2-12

specs2-junit-2-12

JSON →
library4.23.0javamavenunverified

JUnit integration for specs2, a software specifications library for Scala, enabling running specs2 tests with JUnit runners.

<dependency> <groupId>org.specs2</groupId> <artifactId>specs2-junit_2.12</artifactId> <version>4.23.0</version> </dependency>
INSTALL
IMPORT
SIG · SPECS2-JUNIT-2-12
S
specs2-junit-2-12
testingjavav4.23.0
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.

JUnitRunner
org.specs2.runner.JUnitRunner

Defines a specs2 specification that runs with JUnit.

import org.specs2.runner.JUnitRunner import org.junit.runner.RunWith import org.specs2.mutable.Specification @RunWith(classOf[JUnitRunner]) class MySpec extends Specification { "Hello" should { "return 'world'" in { "Hello" must_!= "world" } } }
Debug
Known issues
breakingThis package is for Scala 2.12; ensure compatibility with your Scala version.
fix
Use the appropriate artifact for your Scala version (e.g., specs2-junit_2.13).
affects: <=4.23.0
Upgrade
Version history
4.23.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Resources
specs2-junit-2-12 — mvn dependency:get specs2-junit-2-12 · libregistry