cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Michels <step...@apache.org>
Subject RE: Unit test for Cocoon
Date Fri, 04 Apr 2003 10:16:26 GMT

On Wed, 2 Apr 2003, Pham Thanh Quan wrote:

> Dear Stephan,
>
> I would like to test on every separate action, generator, transformer...
> Please show me the test case for that. Thank you.

In the current CVS HEAD:

cocoon-2.1/src/test/org/apache/cocoon/generation/AbstractGeneratorTestCase.java
cocoon-2.1/src/test/org/apache/cocoon/transformation/AbstractTransformerTestCase.java

Stephan.

> -----Original Message-----
> From: Stephan Michels [mailto:stephan@apache.org]
> Sent: Tuesday, April 01, 2003 5:14 PM
> To: cocoon-users@xml.apache.org
> Subject: Re: Unit test for Cocoon
>
>
>
> On Tue, 1 Apr 2003, Pham Thanh Quan wrote:
>
> > Hi,
> >
> > Do you know any unit-test tool for Cocoon? Please tell me.
> > Thanks and regards
>
> What do you prefer to test? There exist a testcase for generators
> and transformer. And writing a test case for complete pipelines
> shouldn't be difficult.
>
> The only problem, I see, is that you must compare binaries,
> if you write a test case for serializer or complete
> pipelines, except if these produce XML.
>
> Stephan.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>


---------------------------------------------------------------------
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