Testing procedures

From DLXS Documentation

(Difference between revisions)
Jump to: navigation, search

Revision as of 12:36, 9 September 2007

The following is a suite of test searches for BibClass middleware. It is designed to be run against the sample BibClass collection samplebc, a collection of records converted from USMARC format for the old University of Michigan Reports series.

The test is designed to be a series of searches on the command line that correspond to searches in the interface, and which provide numbers for results that can be verified through the interface.

Significantly, this test suite lacks a test of searching multiple simultaneous indexes. When searching multiple simultaneous indexes, you may run into problems such as numbering, where, for example, the results numbering restarts in the second index when it should run continuously across the indexes. This omission will be corrected after the test system is in production.

  1. Run these searches from the command line to generate numbers or reproduce the numbers provided here. The syntax is:
    xpat -e /{DLXSROOT}/idx/s/samplebc/samplebc.dd < /{DLXSROOT}/idx/s/samplebc/bibtest.srch
  2. Run the [bibtest.srch bibtest.srch searches] in the test interface to attempt to replicate the numbers indicated. This is typically something that can be delegated to other staff, preferably students.

Steps that could be used to test bookbag, downloading, and the array of generic behaviors only visible through the interface are still needed.

Personal tools