Registry / testing / junit-interface

junit-interface

JSON →
library0.11javamavenunverified

An implementation of sbt's test interface for JUnit 4, allowing JUnit tests to run within sbt builds.

<dependency> <groupId>com.novocode</groupId> <artifactId>junit-interface</artifactId> <version>0.11</version> </dependency>
INSTALL
IMPORT
SIG · JUNIT-INTERFACE
J
junit-interface
testingjavav0.11
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
com.novocode.junit.JUnitRunner

JUnit 4 test class that runs via sbt's test interface.

// No direct import needed; add dependency to sbt build and JUnit 4 tests run automatically. import org.junit.Test; import static org.junit.Assert.*; public class MyTest { @Test public void test() { assertEquals(1, 1); } }
Debug
Known issues
gotchaThis library is specific to sbt builds; not needed for standalone JUnit usage.
fix
Use junit-interface only in sbt projects; for Maven/Gradle, use standard JUnit dependencies.
affects: *
Upgrade
Version history
0.11latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
junit-interface — mvn dependency:get junit-interface · libregistry