Hi,

We are currently using Stripes 1.4.3 and while writing some unit tests covering 
expression validation I stumbled over the problem described in 
http://www.nabble.com/Re:-testing-stripes-td9957968.html.

I wonder if this implemented in Stripes 1.5 as mentioned in the quote below 
from the email conversion referenced above?

Thanks in advance for answering this question.  -- Andreas

Quote

The short answer to your question is that in the current version of
Stripes there really is no good way to unit test the expression
validation in actions.  In order to keep the dependency count down,
we elected to use a trick to get a JSP expression parser from the
container - but the Mock container for unit testing doesn't support
this, and so it won't work.

If it's important to you to be able to unit test your beans 100%,
then I'd suggest you not use the expression validation.  Note that
all this does right now though is disable the expression validations
- everything else should work fine.  I'd like to look into fixing
this for Stripes 1.5, but that won't help you in your current situation.



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to