diff options
author | Richard Maw <richard.maw@gmail.com> | 2016-12-24 16:31:01 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2016-12-24 16:31:01 +0000 |
commit | 093e9636944a0a928af3736c524c84b131fe37c9 (patch) | |
tree | 5014c738c0d57998723463b09fc35bee7107c2cc /TESTING | |
parent | 40902b88cf0a17f1fce95e72a44fc533160aea90 (diff) | |
download | gitano-093e9636944a0a928af3736c524c84b131fe37c9.tar.gz |
Document HTTP test mode dependencies
Diffstat (limited to 'TESTING')
-rw-r--r-- | TESTING | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -32,6 +32,23 @@ to HTTP mode if you are changing the CGI code by running: The protocol being used during a test run is exposed in the GTT_PROTO environment variable passed to implementations. +HTTP mode test dependencies +--------------------------- + +HTTP tests work via password access rather than key access, +so the `htpasswd` binary must be in your `PATH`. +In debian this can be accomplised by installing `apache2-utils`. + +HTTP tests require starting an HTTP server on an unused port. +The test suite implements this using `lighttpd`, +so that binary must be in your `PATH`. +In debian this can be accomplished by installing `lighttpd`. +This starts it by default, so you probably want to run +`systemctl disable --now lighttpd.service` to stop it. + +This defaults to starting at 8080 and walking up to find a free one. +If there is a better port to use set `HTTP_FIRST_TEST_PORT`. + The fundamental parts of the `testing/` directory are ===================================================== |