Registry / testing / hamcrest-all

hamcrest-all

JSON →
library1.3javamavenunverified

A self-contained Hamcrest jar containing all sub-modules (core, library, generator) in a single artifact for convenient use.

<dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-all</artifactId> <version>1.3</version> </dependency>
INSTALL
IMPORT
SIG · HAMCREST-ALL
H
hamcrest-all
testingjavav1.3
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.

MatcherAssert
org.hamcrest.MatcherAssert

Demonstrates using Hamcrest matchers in a test assertion.

import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.*; public class Example { public static void main(String[] args) { assertThat("Hello World", containsString("World")); } }
Debug
Known issues
gotchaHamcrest 1.3 is outdated; newer versions (2.x) have different package structure and matchers.
fix
Consider upgrading to Hamcrest 2.2 or later for better API and compatibility.
affects: 1.3
Upgrade
Version history
1.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
hamcrest-all — mvn dependency:get hamcrest-all · libregistry