You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each of the specification documents in the
specifications is represented in
a corresponding test suite in the test directory, with test
data in the test/data directory.
The tests are written for the XSpec
testing framework, a behavior driven development testing framework for
XSLT and XQuery. To run the tests, you must install the Saxon XSLT and
XQuery processor as well as XSpec. Installation instructions are
available on the XSpec wiki.
Once you have XSpec installed, you can run the entire test suite with
the command (for Mac OS or Linux):
xspec.sh test/marc2bibframe2.xspec
Test reports will be output in the test/xspec directory.
Xspec is also integrated in the Oxygen XML editor, and tests can be run within Oxygen.