Registry / testing / junit-extras

junit-extras

JSON →
library0.4javamavenunverified

Provides additional utilities for JUnit testing.

<dependency> <groupId>com.github.davidmoten</groupId> <artifactId>junit-extras</artifactId> <version>0.4</version> </dependency>
INSTALL
IMPORT
SIG · JUNIT-EXTRAS
J
junit-extras
testingjavav0.4
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.

JUnitExtras
com.github.davidmoten.junit.JUnitExtras

Uses JUnitExtras to assert that an exception is thrown.

import com.github.davidmoten.junit.JUnitExtras; import org.junit.Test; public class ExampleTest { @Test public void testSomething() { JUnitExtras.assertThrows(IllegalArgumentException.class, () -> { throw new IllegalArgumentException(); }); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
junit-extras — mvn dependency:get junit-extras · libregistry