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
