XML Test Suite |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Installation:Unpack the distribution from SourceForge, add the bin directory to your PATH, and optionally add the jar file to you classpath. (The classpath is only required if you want to run directly from a java command. The bin directory contains run scripts for windows and *nix which construct their own classpath) Directory Structure: XmlTestSuite -- the source and compiled class files | +-- bin --- shell scripts | +-- src --- the source code | +-- lib -- the jar file(s) | +-- docs -- all the documentation | +-- api ----- all the javadoc generated api docs | +-- dtd -- a description of the permitted elements in the xml UsageXmlTestSuite can be invoked directly or with a shell script. To run the tests from the command line type XmlTestSuite testFileName.xml
This assumes that the XmlTestSuite bin directory is in your shell's PATH.
ln -s /usr/local/xmltestsuite/bin/xmltestsuite.sh /usr/local/bin/xmltestsuite If you have problems with *nix, there is a simpler script which can be easily modified: edit xmltestsuite.sh (to change the defined path) Alternatively, java can be invoked directly. The first line below invokes the GUI test runner that comes as part of junit java
com.netriser.xmltestsuite.Main [-v|-verbose] [-h|-help] [xmlPathname-or-directory] Copyright (c) Netriser Limited The following jar files are required by XmlTestSuite and are included in the lib directory. The java xml interface is provided by using xmlParserAPIs.jar and xercesImpl.jar from
apache.org. (previous versions had used j2ee.jar from
java.sun.com) (This table is derived from part of the HttpUnit documenttion.)
|