1

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?

sfieger
  • 44
  • 1
  • 9

2 Answers2

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