summaryrefslogtreecommitdiff
path: root/TESTING
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2016-12-24 16:31:01 +0000
committerRichard Maw <richard.maw@gmail.com>2016-12-24 16:31:01 +0000
commit093e9636944a0a928af3736c524c84b131fe37c9 (patch)
tree5014c738c0d57998723463b09fc35bee7107c2cc /TESTING
parent40902b88cf0a17f1fce95e72a44fc533160aea90 (diff)
downloadgitano-093e9636944a0a928af3736c524c84b131fe37c9.tar.gz
Document HTTP test mode dependencies
Diffstat (limited to 'TESTING')
-rw-r--r--TESTING17
1 files changed, 17 insertions, 0 deletions
diff --git a/TESTING b/TESTING
index d06f400..4a195d7 100644
--- a/TESTING
+++ b/TESTING
@@ -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
=====================================================