Darwin  1.10(beta)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Regression Tests

Regression tests are run using either a perl script or python script in the tests directory. The perl script requires XML::Simple and Text::Diff to be installed.

sudo cpan
> install XML::Simple
> install Text::Diff
> exit

Regression tests can be run from the tests directory. The script runtests.pl executes a series of tests and compares the output with known results. Tests are defined in XML files. For example, to test the drwnML library, run

perl runtests.pl drwnMLTests.xml

Executing runtests.pl or runtests.py without any arguments will display additional usage information.