|
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. |
Sign in to add a comment
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?)
Are there plans to integrate this with JUnit like "Tennison Tests" does?