- Individual Component Tests
- Tests are available for the following components:
- Disk Space Management
- Buffer Management
- Heap Files
- BTree
- Joins
- Warning: Since Minibase uses some global variables, the tests are not quite as "independent" as one might believe. The driver that powers the tests menu uses the same global error variable as the actual tests themselves!
- Running the Tests
- A text-based interface to Minibase can be invoked by using the command minibase, which has the following command-line options:
- -d database name (required)
- -s size of the DB in pages
- -b size of the buffer pool in pages
- -r reopen mode; used to reopen an existing database
- When this command is executed, a menu of options is presented to the user; of these, item number 2 is Component Tests, and the tests can be run by choosing this option.
Raw Paste