Re: [announce] test & documentation

2003-12-11 Thread bernhard huber
hi,

> 
> Welcome home Bernhard, nice to see you back here.
yup, i was a bit busy at work

> 
> BTW, is there a way to just run individual tests, or does 'build test'
> need to just run them all.

well, if you want to edit tool/targets/test-build.xml,
adopting the
target junit-tests, and block-tests targets you can run
individual tests only.

but by now you cannot run individual tests from ant commandline.

I compile&run tests from within the NetBeans IDE.
> 
> I added your notes to the documentation at:
> http://cocoon.apache.org/2.1/installing/tests.html
> and started a Wiki referral page:
> http://wiki.cocoondev.org/Wiki.jsp?page=TestingFramework
okay

bye bernhard

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net




Re: [announce] test & documentation

2003-12-10 Thread David Crossley
bernhard huber wrote:
> hi, 

Welcome home Bernhard, nice to see you back here.

> i'd like to commit this week junit tests for following transformers:
> 
> AugmentTransformerTestCase.java
> CIncludeTransformerTestCase.java
> EncodeURLTransformerTestCase.java
> FilterTransformerTestCase.java
> I18NTransformerTestCase.java
> XIncludeTransformerTestCase.java

Please do.

BTW, is there a way to just run individual tests, or does 'build test'
need to just run them all.

> as there is already a nice junit framework available it is not that
> difficult to add junit tests for any
> transformer, in short:
> 1. create XYTransformerTestCase.java
> 2. create XYTransformerTestCase.xconf
> 3. edit the transformers section in XYTransformerTestCase.xtest for
> XYTransformerTestCase
> 4. add testABC() methods to XYTransformerTestCase.java

I added your notes to the documentation at:
http://cocoon.apache.org/2.1/installing/tests.html
and started a Wiki referral page:
http://wiki.cocoondev.org/Wiki.jsp?page=TestingFramework

--David




[announce] test & documentation

2003-12-10 Thread bernhard huber
hi, 

i'd like to commit this week junit tests for following transformers:

AugmentTransformerTestCase.java
CIncludeTransformerTestCase.java
EncodeURLTransformerTestCase.java
FilterTransformerTestCase.java
I18NTransformerTestCase.java
XIncludeTransformerTestCase.java

as there is already a nice junit framework available it is not that
difficult to add junit tests for any
transformer, in short:
1. create XYTransformerTestCase.java
2. create XYTransformerTestCase.xconf
3. edit the transformers section in XYTransformerTestCase.xtest for
XYTransformerTestCase
4. add testABC() methods to XYTransformerTestCase.java

regards bernhard



-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net