jcabi-matchers

Hamcrest Matchers

License

License

BSD
GroupId

GroupId

com.jcabi
ArtifactId

ArtifactId

jcabi-matchers
Last Version

Last Version

1.5.3
Release Date

Release Date

Type

Type

jar
Description

Description

jcabi-matchers
Hamcrest Matchers
Project Organization

Project Organization

jcabi.com
Source Code Management

Source Code Management

https://github.com/jcabi/jcabi-matchers

Download jcabi-matchers

How to add to project

<!-- https://jarcasting.com/artifacts/com.jcabi/jcabi-matchers/ -->
<dependency>
    <groupId>com.jcabi</groupId>
    <artifactId>jcabi-matchers</artifactId>
    <version>1.5.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.jcabi/jcabi-matchers/
implementation 'com.jcabi:jcabi-matchers:1.5.3'
// https://jarcasting.com/artifacts/com.jcabi/jcabi-matchers/
implementation ("com.jcabi:jcabi-matchers:1.5.3")
'com.jcabi:jcabi-matchers:jar:1.5.3'
<dependency org="com.jcabi" name="jcabi-matchers" rev="1.5.3">
  <artifact name="jcabi-matchers" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.jcabi', module='jcabi-matchers', version='1.5.3')
)
libraryDependencies += "com.jcabi" % "jcabi-matchers" % "1.5.3"
[com.jcabi/jcabi-matchers "1.5.3"]

Dependencies

compile (6)

Group / Artifact Type Version
org.hamcrest : hamcrest jar 2.1
com.jcabi : jcabi-log jar 0.17.2
com.jcabi : jcabi-xml Optional jar 0.20.1
com.jcabi : jcabi-http Optional jar 1.16
com.jcabi : jcabi-w3c Optional jar 1.3
com.jcabi : jcabi-aspects Optional jar 0.22.6

provided (6)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.16.18
javax.xml.bind : jaxb-api jar 2.2.12
javax.xml.bind : jsr173_api jar 1.0
javax.ws.rs : jsr311-api jar 1.1.1
net.sourceforge.saxon : saxon Optional jar 9.1.0.8
net.sourceforge.saxon : saxon Optional jar 9.1.0.8

runtime (1)

Group / Artifact Type Version
org.glassfish.jaxb : jaxb-runtime jar 2.2.11

test (4)

Group / Artifact Type Version
org.apache.commons : commons-lang3 jar 3.6
commons-io : commons-io jar 2.5
org.glassfish : javax.json Optional jar 1.1
com.sun.jersey : jersey-client jar 1.19.3

Project Modules

There are no modules declared in this project.

EO principles respected here Managed by Zerocracy DevOps By Rultor.com

Build Status PDD status Build status Javadoc

jpeek report Maven Central Dependencies

More details are here: matchers.jcabi.com. Also, read this blog post: XML/XPath Matchers for Hamcrest.

The library contains a collection of convenient Hamcrest matchers. For example:

import com.jcabi.matchers.XhtmlMatchers;
import org.hamcrest.MatcherAssert;

MatcherAssert.assertThat(
  "<test><name>Jeff</name></test>",
  XhtmlMatchers.hasXPath("/test/name[.='Jeff']");
);

Questions?

If you have any questions about the framework, or something doesn't work as expected, please submit an issue here.

How to contribute?

Fork the repository, make changes, submit a pull request. We promise to review your changes same day and apply to the master branch, if they look correct.

Please run Maven build before submitting a pull request:

$ mvn clean install -Pqulice
com.jcabi

jcabi.com

Small java components

Versions

Version
1.5.3
1.5.1
1.5
1.4
1.3
1.2
1.1
1.0