Running regression tests - ProofDrivenQuerying/pdq GitHub Wiki

Running regression tests

To run regression tests you need to execute the class PDQ.java, which lies in the regression project, as an application. The command line parameters should be:

 >  PdqRegression -m [mode] -i [folder]

Folder: either a folder with a schema.xml and query.xml file in it, or a root directory containing many of such subfolders.

If you are running PDQ, rather than running an existing regression test, then in a new folder create schema and query XML files, add case.properties and run this folder as above.

Available modes:

  • planner: creates the expected plan XML file. If it is already exists compares the result with it.
  • runtime: executes the expected plan XML file.
  • full: first two in sequence.