-
I'm finding the following useful:
```
public static Matcher debugContaining(String substring) {
return formattedMessageMatches(Level.DEBUG, substring);
}
/// etc.
private static Matcher formatt…
-
Port some third party matchers, specially ones for regular expressions
- https://github.com/derari/cthul/wiki/Matchers
- https://github.com/daviddenton/hamsandwich
-
Hamcrest future
Java 8 introduced DateTime, Optional and Streams to make but a few. I believe these should be native matchers within hamcrest.
-
By adding one more assertion function "That", which took `t, an object, and a Matcher`, you could support hamcrest-style matching and extension of the assertions without need for PRs in this repo.
…
-
-
Hamcrest matchers are generally named so that an assertThat using the matchers reads like normal English, eg.:
```
assertThat(myString, startsWith("hello w");
assertThat(myList, contains("a", "b"));
…
-
### Expected Behavior
message and messageTemplate are filled correctly
### Actual Behaviour
message is filled with the custome template and message template is filled with the interpolated me…
-
Currently all the tests are done using the simple asserts (mostly ``assertTrue`` and ``assertFalse``) from class ``org.junit.Assert``. This gets the job done, it's the standard way of doing assertions…
-
Thanks for providing a dedicated Axon Framework Testing API. This API helps a lot!
Regarding the given-when part the API is very easy to use, but I have some issues with the expect-part.
Your Tes…
-
Re-write internal assertions to use custom Hamcrest matchers. These can later be exposed as an alternative to the static methods on ProcessAssert.
Resource: http://www.slideshare.net/wakaleo/junit-ku…