General Discussion

XSLT stylesheet coverage

Started by Paulo1 on 8,489 views

Can Ncrunch be used to provide code coverage results for an XSLT stylesheet (.xsl file) when using the .Net class XslCompiledTransform.transform method()? Basically we need to test that the XSLT file contents and templates are all covered.
Hi, thanks for posting!

I'm afraid that this just isn't possible with NCrunch. XSLT does not produce debug output in the form of a PDB, and does not compile into an IL form that supports instrumentation.


Cheers,

Remco

Post a reply

Log in to reply.