Joe,

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.

Regards,
David


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to