Currently these tests depend on:
- A Hyrax server running on
localhost:8080(but see the --server option) - The programs
getdapandgetdap4must be on the PATH
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:
- The --jobs=N will speed up the tests quite a bit, especially with a remote server.
- The --server= option will switch from the default
localhost:8080to a different server. The server must have the stock data and handlers. - The --besdev=[yes|no] option toggles a set of error code tests that only work
with a server compiled using
--enable-developerbut are useful tests, all the same. - There are a number of keywords (-k ) that can be used to select groups of
related tests. For example,
./testsuite -j9 -k htmlwill run all of the tests that get HTML responses. The keywords supported are html, test, error, dods, dap, and header.
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.