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:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2003 5:14 PM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to