PackageTrack
Sign in Get early access

org.hamcrest:hamcrest-parent

1.3 #977 most downloaded on Maven Central hamcrest/JavaHamcrest

What this package is like to depend on

Last release 14 years ago

no release in 18 months

Ships fairly regularly

a new release about every 2.5 years

Nearly every release is documented

notes for 2 of 2 stable releases

Nothing withdrawn

no release was ever pulled

19 years old

3 releases · first in 2007

0 releases in the last 12 months

see the full history below

Release timeline

3 releases · Jul 2007 to Jul 2012
2008 2010 2012 2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 3
  1. 1.3 09 Jul 2012
    Release notes
    • Introduce Condition class to ease the implementation of multi-step matches
    • Upgrade qdox (included in the generator) to the latest stable version
    • Correct inadvertent deprecation of the Is.isA factory method
    • Fix issue #179 - AllOf does not output mismatch description
    • Fix issue #177 - Introduced closeTo matcher for BigDecimals
    • Fix issue #152 - Factory classes missing from matchers.xml
    • Fix issue #144 - OrderingComparison doesn't describe mismatch of comparables that return values other than (-1,0,1)
    • Fix issue #134 - DescribedAs does not delegate describeMismatch
    • Fix issue #106 - deprecation warning when writing custom matchers
    • Fix issue #101 - Added theInstance alias for sameInstance factory method
    Open source →
  2. 1.3.RC2 22 Dec 2010 pre-release

    Nothing published for this version

  3. 1.1 18 Jul 2007
    Release notes
    • Hamcrest Generator now includes JavaDoc and parameter names in generated code by using QDox to parse the source code.
    • Created hamcrest-core.jar (and removed hamcrest-api.jar). Moved core set of matchers (and, eq, not, etc) to this package to make it more practical for external libraries to embed Hamcrest.
    • Created CoreMatchers (static import sugar) in hamcrest-core.jar.
    • StringBuilder can use any Appendable (not just StringBuffer).
    • Added sensible toString() method to BaseMatcher.
    • Created StringDescription.asString() alias (because toString() caused issues with static imports).
    • Relaxed isInstanceOf() matcher generic type so it can be used on any kind of object. e.g. assertThat(someUnknownObject, isInstanceOf(String.class));
    • Added any(Class<T>), null(Class<T>) and notNull(Class<T>) matchers, which returns Matcher<T>. Helpful when the compiler struggles with type inference.
    • Modified anyOf() and allOf() to accept mixed-types.
    • TypeSafeMatcher.matchesSafely() is now public.
    • Generator recognizes @Factory methods that return subclass of Matcher. (Fix by David Saff)
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive