Currently these tests depend on:
- A Hyrax server running on
localhost:8080
(but see the --server option) - The programs
getdap
andgetdap4
must 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:8080
to 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-developer
but 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 html
will run all of the tests that get HTML responses. The keywords supported are html, test, error, dods, dap, and header.