cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <>
Subject Re: FYI: I described how to write tests for Cocoon
Date Wed, 04 Jul 2007 07:57:50 GMT
Felix Knecht pisze:
> Grzegorz Kossakowski schrieb:
>> Hi,
>> I have dumped my experiences with writing (or restructuring) tests for
>> Cocoon both for Avalon components and Spring beans. It took me a while
>> to figure out all details I included here:
> I haven't tested it yet but I'm happy to see that not only for the
> forms-framework a migrationguide exists (which is heavily used) ;-)

Wow, glat to hear that! It is all encouraging.

> Just from reading the guide:
> In the avalon-part you have a note that it's usefull to use either
> SitemapComponentTestCase or CocoonTestCase from which testcases are
> extended.  Are these 'base' testcases the same which should be used to
> extend spring-managed testcases from? Or do we have another base
> testcase to extend from?

No, you should use the same test-cases to extend from. Only obtaining tested class depends
on it's manager (lookup() method vs 
getFactoryBean() method). I'll try to clarify this description.

Thanks for spotting this.

Grzegorz Kossakowski

View raw message