Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0 GA
    • Fix Version/s: 2.0.1
    • Component/s: Test
    • Labels:
      None

      Description

      When a validation in a RequestMatcher or ResponseMatcher fails, it's sometimes hard to find out what went wrong. If the AssertionError contained the message, it would have been easier to detect the issue.

      Patch attached

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Hi Lukas,

        I've committed the patch with some minor changes, including the capability to add a label, indicating what the source is actually supposed to be. I've also made the AssertionError subclass a top-level class, so that people can specifically test for it.

        Could you please take a look at the current SVN and see if everything is in order?

        Cheers,

        Arjen

        Show
        arjen.poutsma Arjen Poutsma added a comment - Hi Lukas, I've committed the patch with some minor changes, including the capability to add a label, indicating what the source is actually supposed to be. I've also made the AssertionError subclass a top-level class, so that people can specifically test for it. Could you please take a look at the current SVN and see if everything is in order? Cheers, Arjen
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing old issues

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing old issues

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            dart0 Lukas Krecan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0d
              0d
              Logged:
              Time Spent - 1h 22m
              1h 22m