Re: Message lookup (from key) in Test

2011-11-17 Thread Li Ying
Hi Miguel: How did you generate the error message? (A)Did you add the message key to the action errors, like: this.addActionError(error.authorisation); (B)or did you retrieve the message text by the key, then add the text to the action errors, like:

Message lookup (from key) in Test

2011-11-16 Thread Miguel Almeida
Dear all, I am unit-testing an application under the skin using SpringStrutsTestCase as base (actually, things are a bit more complicated because I'm doing it from Cucumber, but that's another story). How do you get the value of your message from within the test? The assertion I'm trying is: