Registry / testing / jcabi-matchers

jcabi-matchers

JSON →
library1.9.0javamavenunverified

Hamcrest matchers library providing additional matchers for unit testing.

<dependency> <groupId>com.jcabi</groupId> <artifactId>jcabi-matchers</artifactId> <version>1.9.0</version> </dependency>
INSTALL
IMPORT
SIG · JCABI-MATCHERS
J
jcabi-matchers
testingjavav1.9.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.

RegexMatchers
com.jcabi.matchers.RegexMatchers

Use a regex matcher

import com.jcabi.matchers.RegexMatchers; import static org.hamcrest.MatcherAssert.assertThat; public class Example { public void test() { assertThat("hello", RegexMatchers.matchesPattern("h.*o")); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.9.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jcabi-matchers — mvn dependency:get jcabi-matchers · libregistry