struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Thornett <r...@thornett.com>
Subject Re: Struts 2 and Validation Testing
Date Mon, 02 Apr 2007 19:21:48 GMT

I'm seeing the same issue folks have described below.  BTW, the validation
testing described in:

http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html

did work, at least in Struts 2.0.1.  I've entered the following jira issue
on the matter:

https://issues.apache.org/struts/browse/WW-1868

Hopefully it will be addressed soon.


k hall wrote:
> 
> I really like Struts 2 but has anyone had any success in testing Struts
> 2's action validation logic?
> 
> http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html
> 
> I'd like to test the validation messages I receive but get an exception
> where the objectFactory is null. I've tried with putting in my own
> validators.xml, but it gets hung up on the ObjectFactory and I really
> can't figure out how to correct that from a Unit Test.
> 
> Any ideas to fix this Struts 2 gurus?
> 
> Thanks.
> 
> 

-- 
View this message in context: http://www.nabble.com/Struts-2-and-Validation-Testing-tf3451623.html#a9797200
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message