XSLT Tests
Jump to navigation
Jump to search
Getting the XSLT test suite
- set CVSROOT to
:pserver:anoncvs@cvs.apache.org:/home/cvspublic - Check out the
xml-xalan/testmodule.
For example, on a Unix you might do
env CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic cvs co xml-xalan/test
Running the tests
WARNING: these tests have only been checked in Seamonkey. They may well not work in Firefox.
- In the
testsdirectory in the Xalan tree you pulled (this is the directory that hasconfandconf-goldas subdirectories) run the script found atcontent/xslt/tests/buster/helper/generate-rdf.plin your source tree. This will generate a file calledxalan.rdfin the Xalantestsdirectory. - Start a build that does NOT have the changes being tested in it. Go to the Tools > Web Development > Xalan Tests menu option.
- Click the "Browse" button and browse for the
xalan.rdffile that you created in step 1. - Select the "conf" item in the tree at the bottom of the Xalan Tests dialog.
- Click "run checked tests"
- Wait until the test completes.
- Go to File > Save Results and save the results.
- Repeat steps 2-7 in a build that DOES have the changes being tested in it.
- Compare the results.