So why can't you write a unit test for Dyna*Forms? It's easy to load the struts-config.xml and create the necessary form beans for out-of-container testing.
On Wed, Oct 01, 2003 at 06:45:22PM +0800, Andrew Hill wrote: > I subscribe to that school. I believe everything should have a unit test. > Its a very good school... > > ...I just happen to be playing truant today. > > -----Original Message----- > From: Mark Galbreath [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 1 October 2003 18:41 > To: Struts Users Mailing List > Subject: RE: [POLL] ActionFrom vs DynaActionForm > > > That's fine if, of course, you subscribe to the school of thought > prescribing a pre-code test (which I do not). > > Mark > > -----Original Message----- > From: Vic Cekvenic [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 01, 2003 3:06 AM > To: [EMAIL PROTECTED] > Subject: Re: [POLL] ActionFrom vs DynaActionForm > > > +1 ActionForms. > > On of the benefits of Modular/MVC programing is that you can unit test a > module, before integrating it. > > .V > > Andrew Hill wrote: > > Call me old fashioned but I always use good old hand coded ActionForms. > > Guess I like having something my compiler can get its teeth into. :-) > > > > Now that Im using Eclipse getters and setters are no problem at all. I > love > > that generate getter & setter menu option. :-) > > > > (Validation isnt an issue for me either way as Ive always found it more > > convenient to do in the Action) > > > > -----Original Message----- > > From: Mainguy, Mike [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 1 October 2003 00:52 > > To: [EMAIL PROTECTED] > > Subject: [POLL] ActionFrom vs DynaActionForm > > > > > > Next in my series of struts-user polls (please complain if this gets old). > > > > What sort of ActionForms does everyone use? > > > > #1 ActionForm > > #2 DynaActionForm > > > > Personally, I'm an advocate of the DynaActionForm as it seems to be able > to > > do 80-90% of everything I need to do and everything else can be done in my > > business tier. I have, however, run into another person who is dead set > > against using it. His rationale is that you are then unable to do custom > > validation when you use the DynaValidatorForm... I think you can still do > > it, it's just a little more difficult, but, I'm polling to see if I'm out > in > > left field... > > -- Nick Heudecker SystemMobile, Inc. Email: [EMAIL PROTECTED] Web: http://www.systemmobile.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]