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

new Hamcrest Matcher to help build chaining Matchers

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: