You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Dilger (JIRA)" <ji...@apache.org> on 2013/04/02 08:37:16 UTC

[jira] [Created] (WICKET-5128) Allow for Testing Component relative Feedback-Messages in Wicket-Tester

Martin Dilger created WICKET-5128:
-------------------------------------

             Summary: Allow for Testing Component relative Feedback-Messages in Wicket-Tester
                 Key: WICKET-5128
                 URL: https://issues.apache.org/jira/browse/WICKET-5128
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.7.0
            Reporter: Martin Dilger
            Priority: Minor
         Attachments: WICKET-5128-Allow-for-Component-relative-Feedbackmessages-in-Wicket-Tester.patch

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira