Re: Struts2 and TestNG

2009-10-07 Thread Dan R. Olsen III
. Tests must have struts.xml on class path. My struts.xml contains some constants, interceptors, but not the actions. -- View this message in context: http://www.nabble.com/Struts2-and-TestNG-tp25762448p25776794.html Sent from the Struts - User mailing list archive at Nabble.com

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:

Re: Struts2 and TestNG

2009-10-06 Thread Alex Siman
file. Tests must have struts.xml on class path. My struts.xml contains some constants, interceptors, but not the actions. -- View this message in context: http://www.nabble.com/Struts2-and-TestNG-tp25762448p25776794.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts2 and TestNG

2009-10-06 Thread Musachy Barroso
this message in context: http://www.nabble.com/Struts2-and-TestNG-tp25762448p25776794.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Struts2 and TestNG

2009-10-05 Thread Dan R. Olsen III
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 resources on how to do this. I am using Struts 2.1.6 and have the TestNG plugin. I am also

Re: Struts2 and TestNG

2009-10-05 Thread Alex Siman
resources on how to do this. I am using Struts 2.1.6 and have the TestNG plugin. I am also using annotations to declare my actions. -- View this message in context: http://www.nabble.com/Struts2-and-TestNG-tp25762448p25762551.html Sent from the Struts - User mailing list archive