
Tests
-----

All 4Suite tests are run through test.py.  The tests are grouped by directories.  To get a list of tests
available use the --help option.


python test.py --help



You can also get help at a specific level

python test.py Xslt --help


To run a test, specify the level to run.  To run all tests don't specifiy any command line arguments

#Run all tests
python test.py

#Run only RDF tests
python test.py RDF

#Run only the Ods object test
python test.py Ods/System/objects.py



Modes
--------
Tests can be run in different modes.  The help screen shows a list of modes available at the test level you specified.  By default, the tests are run in the default mode.  Modes are available at each directory (but not always used). To run the Ods tests in the Postgres mode you would specify

python test.py Ods --mode=Postgres


You can also specify multiple modes

python test.py Rdf/Drivers --mode=Oracle --mode=Postgres


To run the tests in all available modes use the --full option

python test.py Xslt --full


To run the tests in all modes except Oracle use the following command line

python test.py Ods --full --skip=Oracle


Other Options
---------------

By default the tests continue after errors.  Use the --stop option to stop testing when an error occurs.

By default the tests print a report after they run.  --noreport turns this off.

By default the tests run at a verbosity level of 2.  Each -v turns this up a nothch, each -q turns this down a notch.