-
Notifications
You must be signed in to change notification settings - Fork 45
Installation on Windows
XSpec requires the Saxon XSLT and XQuery processor which can be downloaded from:
- Saxon HE (open source)
- Saxon PE/EE (commercial products)
For this installation the Saxon JAR (e.g. saxon9he.jar) is assumed to be in C:\xspec.
-
Clone the master branch of XSpec from GitHub:
git clone https://github.com/expath/xspec.git
For this installation both XSpec and Saxon are assumed to be in
C:\xspec. -
Open
c:\xspec\bin\xspec.batin your favourite text editor and change the value on line 3 to the location of your Saxon JAR. For example:SET CP=C:\xspec\saxon9he.jar -
Open up a command prompt, navigate to
C:\xspec\and test the batch script with this command:xspec.batThe output should be the following usage summary:
File not found. Usage: xspec filename [coverage] filename should specify an XSpec document if coverage is specified, outputs test coverage report
Congratulations! You have successfully installed XSpec!
If you have any questions about XSpec or want to discuss, contribute and share information with the XSpec community, please go to one of the following places:
Intro
Installation
Getting Started
Tools Integration
Continuous Integration
Under the hood