JavaHamcrest
JavaHamcrest copied to clipboard
Java (and original) version of Hamcrest
Hamcrest future Java 8 introduced DateTime, Optional and Streams to make but a few. I believe these should be native matchers within hamcrest.
This issue is for planning and discussion of features and fixes that will go into Hamcrest v4.0. Although v3.x will maintain compatibility with Java 8, v4.0 relax this rule and...
Hello Hamcrest For more details: * [AssertJ to Hamcrest equivalency (only for Spring MVC Test): How test each POJO item of a collection (with dates)](https://stackoverflow.com/questions/50081576/assertj-to-hamcrest-equivalency-only-for-spring-mvc-test-how-test-each-pojo-i) If in `AssertJ` is possible...
The idea is project page should provide clear steps to verify if the release is official. I'm afraid I've no standard way of doing that, however, it would be nice...
The matchers IsIterableContaining, IsIterableContainingInRelativeOrder, IsIterableContainingInOrder and IsIterableContainingInAnyOrder all have methods accepting 1) further matchers as a varargs parameter 2) a collection of matchers 3) expected elements as a varargs parameter...
It would be nice to have as a standard feature a special matcher to verify that a given collection is unmodifiable. This sort of checks raises when we test certain...
The Tutorial at https://code.google.com/archive/p/hamcrest/wikis/Tutorial.wiki is missing formatting on some code blocks, and would probably read better on a GitHub wiki. (It's linked under "Getting Started" at http://hamcrest.org/JavaHamcrest/)
Hamcrest future Following on from #204 start thinking about how packages need to be refactored and what is simple or what would need to be done in a major version...
`Equals` and `hashCode` methods are in general useless when one uses Hamcrest for testing. But I want to build a library for mocking Apache `HttpClient` and I plan to build...
the line assertThat(Arrays.asList(1,1), org.hamcrest.Matchers.contains(1)); fail.