cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vyacheslav Sedov" <vyacheslav.se...@gmail.com>
Subject Re: Testdriven development (XSLT) for cocoon applications
Date Sun, 16 Nov 2008 14:56:03 GMT
xslt-based web-crawler with schematron rules can help if pages not
xhtml at all then you should did it as second stage of TQM
implementation  - standard conforming

On 11/16/08, Robby Pelssers <robby.pelssers@ciber.nl> wrote:
> Hi Alexander,
>
> I did not manage to use it already... but I did take a look at it and it
> looks promising.  I just finished writing a presentation on Apache
> Cocoon being used at one of our clients.  And I will also write an
> article (Apache Cocoon related)...  After that I will dive into CoUnit
> and present my findings.
>
> Thx for your mail,
> Robby
>
> -----Original Message-----
> From: Alexander Daniel [mailto:alexander.daniel@gmx.at]
> Sent: zaterdag 15 november 2008 23:18
> To: users@cocoon.apache.org
> Subject: Re: Testdriven development (XSLT) for cocoon applications
>
> On 31.10.2008, at 09:28, Robby Pelssers wrote:
>> I already looked for unittesting XSLT, but would like to know the
>> experience from this community.   One requirement might be the
>> possibility to write tests for xslt2.0.
>
> I am using UTF-X for XSLT unit testing. You can use the XSLT processor
> of your choice with UTF-X and therefore it also works with XSLT 2.0.
>
> You can also use UTF-X for integration tests. The version in the trunk
> supports a href attributes on utfx:source and utfx:expected, e.g.
>
> 	<utfx:assert-equal>
>              <utfx:source href="http://localhost:8888/welcome"/>
>              <utfx:expected>
> 		<welcome>welcome message</welcome>
>              </utfx:expected>
>          </utfx:assert-equal>
>
>
> In the last two weeks I started to use the Cocoon integration test
> framework [1] which uses Maven plugins and HtmlUnit to automate the
> tests. Examples can be found in the Cocoon webapp [2] [3]. It plays
> nicely with the RCL which gives you TDD for integration tests.
>
>
>> Thx for the info.  I will most definitely be spending time on Co-Unit
>> the next few weeks.  Sounds like the answer I was looking for.
>
> How is your experience with CoUnit so far?
>
> Alex
>
> [1] http://svn.apache.org/repos/asf/cocoon/trunk/tools/cocoon-it-fw/
> [2] http://svn.apache.org/repos/asf/cocoon/trunk/core/cocoon-webapp/
> [3]
> http://svn.apache.org/repos/asf/cocoon/trunk/core/cocoon-webapp/src/test
> /java/org/apache/cocoon/it/sitemap/RedirectTest.java
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message