Re: Struts testing

2007-04-16 Thread Ted Husted
Testing Struts 1 Action classes directly is challenging, though the StrutsTestCase extension helps quite a bit. The best solution I found was to push as much functionality as possible into a business facade that could be tested by JUnit or TestNG, and then to test the frontend with Selenium or Web

Re: Struts testing

2007-04-16 Thread puchacz
I was thinking about Struts 1. But Laurie what + and - do You see in Struts1 testing ? Laurie Harper wrote: Laurie Harper wrote: > > puchacz wrote: >> Hi >> >> I would like to ask if You (as Struts programmers) see some + or - of >> testing Struts? I know JSF where I can test all components a

Re: Struts testing

2007-04-15 Thread Laurie Harper
puchacz wrote: Hi I would like to ask if You (as Struts programmers) see some + or - of testing Struts? I know JSF where I can test all components as a standalone programs. How it looks in Struts? If in Struts are a lot of dependencies which make Struts testing hard to test? It depends somew

Re: Struts testing

2007-04-15 Thread Martin Gainty
Puchacz-- I would suggest using MockStrutsTestCase http://strutstestcase.sourceforge.net/api/servletunit/struts/MockStrutsTestCase.html dziekuje, Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email messa