cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charlene Mitchell <charlene...@yahoo.co.uk>
Subject Re: Unit Test Cocoon
Date Wed, 11 Dec 2002 08:23:47 GMT
Hi,

Could you possibly send me some code snippets to get
me started?

I'm looking for the Excalibur test components but
haven't found them yet.  :-(
Still lokking mind!

Charlene

 --- Kevin O'Neill <kevin@rocketred.com.au> wrote: >
On Tue, 2002-12-10 at 19:40, Charlene Mitchell
> wrote:
> > Hi,
> > 
> > Does anyone successfully use JUnit and/or Cactus
> to
> > Unit Test Cocoon actions/generators etc ?
> > 
> > I have my own generators and actions but I'm not
> sure
> > how to call them from JUnit, how to pass in what
> they
> > would normally expect to receive.
> > e.g. an action receives
> >   public Map act(Redirector redirector,
> SourceResolver
> > resolver, Map objectModel, String source,
> Parameters
> > params)
> 
> Have a look at the Excalubur test components. I'm
> using them as the
> basis for my action and generator tests.
> 
> > Thanks (hopefully) in advance for any tips/info
> > 
> > Charlene
> > 
> > PS - the CVS test cases didn't shed any extra
> light
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > Please check that your question  has not already
> been answered in the
> > FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> > 
> > To unsubscribe, e-mail:    
> <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:  
> <cocoon-users-help@xml.apache.org>
> -- 
> If you don't test then your code is only a
> collection of bugs which 
> apparently behave like a working program. 
> 
> Website: http://www.rocketred.com.au/blogs/kevin/
> 
> 
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:    
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:  
> <cocoon-users-help@xml.apache.org>
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message