struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David G. Friedman" <>
Subject RE: reality? CoR was Re: Struts or SpringFramework
Date Sat, 19 Feb 2005 20:03:57 GMT

Your comment on testing CoR (Struts v1.3 or struts-chains) interests me.
How would that be done?  Do you suggest JUnit, TestNG, or something else? sI
looked a little at StrutsTestCase and something about it bothers me, but
what I can't exactly identify.

> public User getUser() {
>    return (User) this.getSessionScope().get("user");
> }
> Is this a huge gain?  I don't know.  But it's possible.
> And it means that you could test your class without
> needing to have a mock HttpServletRequest.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message