views:

34

answers:

0

Hi!

I am using annotation based validation in Struts 2.1.8.1.

Now i want to write a unit-test using jUnit 4 for them but have not got a clue how to do it.

I found several links which worked in Struts 2.1.6 but not in Struts 2.1.8.1 anymore: http://bloodredsun.blog.com/2009/10/21/unit-testing-struts2-actions-with-annotation-based-validation/

Has anyone found a way?

Thanks!