I'm using hamcrest in JUnit-Tests. For the Java collections classes there are Matchers like hasSize
available. Are there any Matchers available for the Faktor-IPS org.faktorips.runtime.MessageList
?
Asked
Active
Viewed 68 times
1

sfieger
- 44
- 1
- 9

Jan Ortmann
- 49
- 3
2 Answers
1
There are specific matchers for org.faktorips.runtime.MessageList
in de.faktorzehn.commons.ips.test.matcher.IpsMatchers
available.
Unfortunately this is not part of Faktor-IPS.

sfieger
- 44
- 1
- 9
1
With the upcoming release 21.12 (RC3 Release Notes), a new package faktorips-testsupport is released on Maven central, which includes Matchers for Messages, MessageLists and ValueSets.

hd42
- 1,741
- 15
- 30