Testing BibClass
From DLXS Documentation
Revision as of 14:48, 14 September 2007
Main Page > Mounting Collections: Class-specific Steps > Mounting a Bib Class Collection > Testing BibClass
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.
- 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 - Run the searches in bibtest.srch 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.