|
Subject: Re: [xsl] ANN: 'Testing XSLT' training course PDF available From: Florent Georges <lists@xxxxxxxxxxxx> Date: Fri, 14 Dec 2007 14:05:19 +0100 (CET) |
Andrew Welch wrote:
Hi
> Personally I don't think you can unit test XSLT
Mmh, what do you think, in this context, about something that looks
like the following:
<t:tests>
<t:title>Fibonacci</t:title>
<t:test>
<t:assert expect="0" select="my:fibonacci(0)"/>
</t:test>
<t:test>
<t:assert expect="1" select="my:fibonacci(1)"/>
</t:test>
<t:test>
<t:assert expect="6765" select="my:fibonacci(20)"/>
</t:test>
</t:tests>
;-)
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] ANN: 'Testing XSLT' train, Andrew Welch | Thread | Re: [xsl] ANN: 'Testing XSLT' train, Mukul Gandhi |
| Re: [xsl] ANN: 'Testing XSLT' train, Andrew Welch | Date | Re: [xsl] ANN: 'Testing XSLT' train, Mukul Gandhi |
| Month |