You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Steven Woody <na...@HotPop.com> on 2003/11/01 08:30:53 UTC

Re: Unit Test Actions

----- Original Message ----- 
From: "Ted Husted" <hu...@apache.org>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Saturday, November 01, 2003 2:21 AM
Subject: Re: Unit Test Actions


> Steven Woody wrote:
> > I skimmed through the code, but dont get a concrete ideal.  Does ProcessAction.java is a part of 'Scaffold'?  Would you please point me to a full documentation about the project?  Thanks!
> 
> There's some coverage in the book, but it's really not documented 
> outside of the source code.

Sorry, what book?

> 
> 
> > Ok, I'm abou to use WebTest.   And, if not so boring I still want to ask, how do you compare WebTest with Fitness?
> 
> Fitness is a general-purpose testing framework, with a special emphasis 
> on acceptance testing. WebTest is focused on testing web sites. Period. 
> A WebTest could be used as an client-level acceptance test, since it 
> tests what the client's care about: the end result. But, a WebTest is 
> not a replacement for a programmer's unit test. We need to catch most 
> problems before they ever trickle down to the presentation.
> 
> Unlike FitNess and JUnit, WebTest is more like an end-user application 
> than an engineering framework. The elements you use are already defined. 
> You don't run around creating Java subclasses. You just write the XML 
> script and then keep it updated. But since it's just a script, it's easy 
> to update.

You explained it very clear, thank you!

> 
> -Ted.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
>