My favorites | Sign in
Project Logo
                
Search
for
Updated Dec 11, 2008 by jeni.tennison
Labels: Phase-Deploy
RunningScenarios  
How to test whether your stylesheet meets its description

Currently, to run the tests, the XSpec description document is transformed into an XSLT stylesheet which imports the stylesheet being tested. Running this stylesheet results in an XML document that holds the results, which is then transformed into an HTML report. The two stylesheets involved in this process are:

Two scripts are provided that will perform this pipeline for you:

To run the script, use the command line:

> xspec filename

James Sulak has written a guide about integrating XSpec into Oxygen.

There is also a XProc pipeline for running the tests, again from James Sulak.

If you develop more scripts (eg ant pipelines), please share them.


Comment by goo...@saremba.de, Sep 11, 2008

Obviously, a simple XSpec example document that demonstrates the main features would help a lot in understanding. (Or even a more elaborate one - how about testing generate-xspec-tests.xsl with XSpec?)

Comment by gigaplex08, Apr 30, 2009

Are there plans to integrate this with JUnit like "Tennison Tests" does?


Sign in to add a comment
Hosted by Google Code