Hi there,

I use eclipse, but not the debugger. but i do use Junit tests to test all of my actions. The cool thing about this is that your actions are really plain ol' java. You can set up actions and run your tests. If you need to pass Session or other information, you can just populate some Maps and pass them in.


public void testCreate() throws Exception { CreateUserAction action = new CreateUserAction(); action.setEmail("[EMAIL PROTECTED]"); action.setPassword("ABCXYZ"); String result = action.execute(); assertEquals(Action.SUCCESS, result); }

If your actions are dependent on things like db connections, you may have to write something that creates a connection ... if you're data layer is abstracted, that shouldn't be too hard anyway.






Samuel Mota wrote:
Hello Guys,

I'm wondering if there is some mailing list focused on WebWork users (developers using webwork:) ?!?

I'm starting my development using WW1 but there are so many doubts (that the poor wiki 
cannot
answer) ... but this list is full of core developers and I'm (kind of) out of sync! 
(and stucked)

To begin I cannot set my development environment in a productivity way ... I'm using 
Eclipse but
don't know how to debug my Actions (no to say my Velocity Templates or JSP files) ... 
any help? (I
know this is more Eclipse related, but I'm new on J2EE development using Eclipse too)

thanks

+ Samuel G. Mota
+ [EMAIL PROTECTED]
+ 55 (11) 4417 7093
+ Business Application Dpt.
+ Netset Serviços em Tecnologia
+ a Hypercom Company
+ http://www.hypercom.com



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to