Registry / testing / junit-extensions

junit-extensions

JSON →
library2.6.0javamavenunverified

JUnit Jupiter extensions providing replacements for common JUnit4 Rules.

<dependency> <groupId>io.github.glytching</groupId> <artifactId>junit-extensions</artifactId> <version>2.6.0</version> </dependency>
INSTALL
IMPORT
SIG · JUNIT-EXTENSIONS
J
junit-extensions
testingjavav2.6.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.

SystemPropertyExtension
io.github.glytching.junit.extension.system.SystemPropertyExtension

Uses SystemPropertyExtension to set system properties in tests

import io.github.glytching.junit.extension.system.SystemPropertyExtension; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @ExtendWith(SystemPropertyExtension.class) public class ExampleTest { @Test void testWithSystemProperty() { System.out.println(System.getProperty("my.property")); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.6.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
junit-extensions — mvn dependency:get junit-extensions · libregistry