Re: StrutsTestCase and surefire:test

2005-11-10 Thread Brett Porter
Pablo wrote: I will try but don't find it an elegant sollution :-) It's been a while, but I seem to remember being able to give an explicit web.xml location to struts test case in setUp. - Brett - To unsubscribe, e-mail: [E

Re: StrutsTestCase and surefire:test

2005-11-10 Thread Pablo
Kenney Westerhof wrote: On Thu, 10 Nov 2005, Pablo wrote: Hi, AFAIK the WEB-INF/web.xml is not needed in the classpath - only the servlet container uses it. [surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0,02 sec FAILURE !! junit.framework.AssertionFailedError: The

Re: StrutsTestCase and surefire:test

2005-11-10 Thread Kenney Westerhof
On Thu, 10 Nov 2005, Pablo wrote: Hi, AFAIK the WEB-INF/web.xml is not needed in the classpath - only the servlet container uses it. However, usually the struts-config.xml etc. are also placed in the WEB-INF/ directory, and they need to be in the classpath. A simple solution is NOT to place the

StrutsTestCase and surefire:test

2005-11-10 Thread Pablo
Hi there I have a problem with running my junit tests based on StrutsTestCase (run by surefire:test) for my web application and reported it in Maven-users mailing list. One of solutions I was given was to report the problem to this list. A short description: I've got a few tests based on Stru