Hamcrest

Core API and libraries of hamcrest matcher framework.

License

License

GroupId

GroupId

org.hamcrest
ArtifactId

ArtifactId

hamcrest
Last Version

Last Version

2.2
Release Date

Release Date

Type

Type

jar
Description

Description

Hamcrest
Core API and libraries of hamcrest matcher framework.
Project URL

Project URL

http://hamcrest.org/JavaHamcrest/
Source Code Management

Source Code Management

https://github.com/hamcrest/JavaHamcrest

Download hamcrest

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

JavaHamcrest

Build Status Maven Central

Java Hamcrest

Licensed under BSD License.

What is Hamcrest?

Hamcrest is a library of matchers, which can be combined in to create flexible expressions of intent in tests. They've also been used for other purposes.

Downloads

You can obtain Hamcrest binaries from maven central. Learn more at Hamcrest Distributables.

Extensions

For Hamcrest extension projects see the hamcrest extensions page.

Documentation

Documentation can be found on the Hamcrest site.

Reporting Bugs/Issues

If you find an issue with Java Hamcrest, please report it via the GitHub issue tracker, after first checking that it hasn't been raised already.

Source

To build, please read BUILDING.txt

Acknowledgements

Developers:

  • Joe Walnes
  • Nat Pryce
  • Steve Freeman

Contributors:

  • Robert Chatley
  • Tom White
  • Neil Dunn
  • Dan North
  • Magne Rasmussen
  • David Saff
  • Tom Denley

Also, thanks to everyone who has worked on DynaMock, nMock, jMock, EasyMock and MiniMock! These libraries inspired Hamcrest.

org.hamcrest

Hamcrest

Versions

Version
2.2
2.2-rc1
2.1
2.1-rc4
2.1-rc3
2.1-rc2
2.1-rc1