Skip to content

OPENDAP/hyrax_regression_tests

Repository files navigation

Hyrax Regression Tests

Currently these tests depend on:

  • A Hyrax server running on localhost:8080 (but see the --server option)
  • The programs getdap and getdap4 must be on the PATH

Build

autoreconf -vif
./configure 
make check

Running make check builds testsuite and then runs it with the default options. However, it's faster, if you want to test a remote server, build the test program using make testsuite and then run them using ./testsuite --server=<name> --jobs=8.

Run ./testsuite --help to see a full set of options.

Worth knowing:

  1. The --jobs=N will speed up the tests quite a bit, especially with a remote server.
  2. The --server= option will switch from the default localhost:8080 to a different server. The server must have the stock data and handlers.
  3. The --besdev=[yes|no] option toggles a set of error code tests that only work with a server compiled using --enable-developer but are useful tests, all the same.
  4. There are a number of keywords (-k ) that can be used to select groups of related tests. For example, ./testsuite -j9 -k html will run all of the tests that get HTML responses. The keywords supported are html, test, error, dods, dap, and header.

Non-automted regression tests for task documentation

The task_documentation directory documents regression tests that were designed to answer specific questions and are not included in the automated test suite. These tests may require additional setup to run locally. See each subdirectory's README for specific context.