RE: Unit test for Cocoon

2003-04-06 Thread Pham Thanh Quan
Title: RE: Unit test for Cocoon





Thank you so much, Stephan.


Quan


-Original Message-
From: Stephan Michels [mailto:[EMAIL PROTECTED]] 
Sent: Friday, April 04, 2003 5:16 PM
To: [EMAIL PROTECTED]
Subject: RE: Unit test for Cocoon



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]





RE: Unit test for Cocoon

2003-04-01 Thread Pham Thanh Quan
Title: RE: Unit test for Cocoon





Dear Stephan,


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

Quan


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





Unit test for Cocoon

2003-03-31 Thread Pham Thanh Quan








Hi,



Do you know any unit-test
tool for Cocoon? Please tell me. 

Thanks and regards



Quan