JavaHamcrest icon indicating copy to clipboard operation
JavaHamcrest copied to clipboard

Java (and original) version of Hamcrest

Results 146 JavaHamcrest issues
Sort by recently updated
recently updated
newest added

Hello, We're using your wonderful library to assert on API responses, using RestAssured and Hamcrest. We are doing the following: ``` Long expectedId = 1111L response.then().body("id", equalTo(expectedId)) ``` We are...

Introduce a new matcher `containsParallelRunsOf` and express the existing `containsInRelativeOrder` matcher using the new matcher with a single run as argument. ### Use case In a project I am working...

When comparing two Lists or sets of characters, containsInOrder will report that a character is missing even when they sets or lists contain the same elements. Code to reproduce: (hamcrest...

(cherry picked from commit 0ba3f59b81ca6c886a2064b993b6025f84bf9c57) @Andremoniy could you take a look at this and this error https://github.com/hamcrest/JavaHamcrest/runs/5176851243?check_suite_focus=true as it's breaking once we bump source to java 1.8 and run on...

I have fully refactored the code, added new checks and addressed issues related to the sealed java.* classes in JDK 17

I've added a test that I think should pass, but it fails. Now I just have to figure out what is being done wrong.

bug

Fixes #301. **Caused:** - Matcher instantiation depends of `actual` object type **Fix:** - Adjusted API to work with arrays embedded in objects The assumption is that whenever we get to...

resolves #346 duplicated #173

enhancement