Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6063

new Hamcrest Matcher to help build chaining Matchers

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.4
    • None
    • core, testing
    • None

      It's currently fairly difficult to build custom matchers which can be used in "chain" mode. This proposed abstract Matcher helps making this possible:

       dummyWithName("a").withTitle("fooTitle")
      

      Complete samples are in YamlConfigurationSourceTest and of course a concrete Matcher such as info.magnolia.config.dummy.DummyThingMatcher in the config branch.

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: