Re: Struts2 and TestNG

2009-10-07 Thread Dan R. Olsen III
The convention plugin is in the classpath for the tests. On 10/6/2009 3:57 PM, Musachy Barroso wrote: also, make sure the convention plugin is in the classpath for the tests. musachy On Tue, Oct 6, 2009 at 2:22 PM, Alex Siman wrote: dolsen-2 wrote: Does this method work if I decl

Re: Struts2 and TestNG

2009-10-06 Thread Musachy Barroso
also, make sure the convention plugin is in the classpath for the tests. musachy On Tue, Oct 6, 2009 at 2:22 PM, Alex Siman wrote: > > > dolsen-2 wrote: >> >> Does this method work if I declare my actions with annotations instead of >> declaring them in struts.xml? >> > Of course, I also declare

Re: Struts2 and TestNG

2009-10-06 Thread Alex Siman
dolsen-2 wrote: > > Does this method work if I declare my actions with annotations instead of > declaring them in struts.xml? > Of course, I also declare actions w/ annos. dolsen-2 wrote: > > It looks like from the errors I get that it is trying to read the action > definitions from the stru

Re: Struts2 and TestNG

2009-10-06 Thread Dan R. Olsen III
Does this method work if I declare my actions with annotations instead of declaring them in struts.xml? It looks like from the errors I get that it is trying to read the action definitions from the struts.xml file. On 10/5/2009 10:00 PM, Alex Siman wrote: Look here: http://struts.apache.org/2.

Re: Struts2 and TestNG

2009-10-05 Thread Alex Siman
Look here: http://struts.apache.org/2.x/docs/testing-actions.html dolsen-2 wrote: > > I am looking for some good ways of using TestNG to test my actions. I > know I can test them like any other POJO but I would like it to include > all the interceptors if possible. Can anyone give me any good