From ddb9480ee6a9f65ee934d2663aba5314f13ecb6d Mon Sep 17 00:00:00 2001 From: Athanasius Date: Sun, 9 Jan 2022 16:27:08 +0000 Subject: [PATCH] Gateway/testscripts: Add a small README --- scripts/testing/gateway-responses/README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 scripts/testing/gateway-responses/README.md diff --git a/scripts/testing/gateway-responses/README.md b/scripts/testing/gateway-responses/README.md new file mode 100644 index 0000000..d8d6fa5 --- /dev/null +++ b/scripts/testing/gateway-responses/README.md @@ -0,0 +1,18 @@ +# Gateway Testing Scripts + +## Introduction +This directory contains some very "rough and ready" scripts, plus +supporting files, that can be utilised to test that the EDDN Gateway code +is properly responding in the face of a variety of bad messages. + +Ultimately the plan is to use these as a basis for implementing some proper +automated tests. + +## Use +The scripts are mostly written against Python 3.x and expect a single +filename to be passed on the commandline. The exception is `test-bad-gzip. +sh` which is a Bourne Shell script, using `curl` to send a request that +claims to be gzipped, but isn't valid. + +They all have the beta EDDN Gateway URL hard-coded. **NEVER** change this +to run them against the live service! \ No newline at end of file