ReferenceGuide icon indicating copy to clipboard operation
ReferenceGuide copied to clipboard

Mention the usage of Fixture.registerIgnoredField

Open mvonrenteln opened this issue 7 years ago • 0 comments

In the documentation of the tests the usage of fixture.expectEventsMatching() is very detailed. This can lead to excessive usage of matchers instead of the simpler fixture.expectEvents().

In many cases fixture.expectEvents() would be simpler and is sutable. But the ID-Field often is not known in the test (or not of interest) and this leads to the usage of the matcher version. So a short documentation of fixture.expectEvents() in combination with registerIgnoredField() would help to choose the right expect method.

mvonrenteln avatar Aug 29 '18 08:08 mvonrenteln