Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5128

Allow for Testing Component relative Feedback-Messages in Wicket-Tester

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.7.0
    • Fix Version/s: 7.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      If I as a developer want to test for certain Feedback Messages to be rendered, currently I can only test for a complete String.
      This forces me to duplicate the Feedback-Message String.
      If the Message changes, the Test will break.
      This is not desirable.
      The patch attached extends the Wicket-Tester and allows for Testing against Property-Keys and not only the complete rendered Message.
      This gives me the possibililty to change the feedback message without changing the corresponding test.
      Please consider applying the Patch.
      Thanks.

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              splitshade Martin Dilger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: