Hamcrest Core

Core Hamcrest API - deprecated, please use "hamcrest" instead

License

License

GroupId

GroupId

org.hamcrest
ArtifactId

ArtifactId

hamcrest-core
Last Version

Last Version

2.2
Release Date

Release Date

Type

Type

jar
Description

Description

Hamcrest Core
Core Hamcrest API - deprecated, please use "hamcrest" instead
Project URL

Project URL

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

Source Code Management

https://github.com/hamcrest/JavaHamcrest

Download hamcrest-core

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.hamcrest : hamcrest jar 2.2

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
1.3
1.3.RC2
1.2.1
1.2
1.1