V0.95 Regression Tests


The regression tests are a collection of test suites designed to test PREDATOR's functionality. Each suite consists of multiple tests which check small portions of PREDATOR. For instance, there is a suite which tests relational join functionality, and it includes many tests which test different kinds of joins.

The regression tests are designed as a development tool. Before committing new code to the PREDATOR codebase, the regression tests must be run to insure that the new code does not upset previous functionality. In addition, when new code is added, so too must a regression test which tests that functionality.

The mode of testing is simple:

The specifics of how to actually run these steps varies on WindowsNT and Solaris.

Running on WindowsNT

Running on Solaris

The tests are organized within a suites directory (Q:\suites on NT and $PREDATOR_LAIR/suites on Solaris). Each test suite is a subdirectory, which contains a number of specific tests. Each test is defined by a .run file and a .correct file with the expected answer. When the tests are run, the output generated is written to a suitesout directory (Q:\suitesout on NT and $XXXROOT/suitesout on Solaris), with a separate file for each test Each output filename has a prefix with the suite name and the test name.

Tips and TroubleShooting

Solaris-Specific

If all (or most) of the tests succeed, your installation is valid, and you can proceed to use the system. An introductory tutorial may help you get started. If you have problems with the regression tests, send mail to predator-support@cs.cornell.edu with details of the problems that arise.


Mail user support: predator-support@cs.cornell.edu .... Back to PREDATOR Home Page