From 18a06649123fc0e8fcaf6c81ca863e521a25ddd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 3 Oct 2023 22:31:45 +0200 Subject: Add readme for tests. --- tests/README.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 tests/README.md (limited to 'tests/README.md') diff --git a/tests/README.md b/tests/README.md new file mode 100644 index 00000000..f79424d7 --- /dev/null +++ b/tests/README.md @@ -0,0 +1,40 @@ +Test suite for Calp +=================== + +### unit +Unit tests. These are ran by [our testrunner](../testrunner.scm). + +### formats +Test of all supported serialization and de-serialization formats. + +From a given "master" record, attempt to serialize it into +iCalendar/xCalendar/..., and check against a pre-checked correct serialization. +Also attempt to parse that pre checked serialization, and that it matches the +master record. + +### RFC4791 +Tests extracted from RFC4791 (Calendaring Extension to WebDAV (CalDAV)) + +Each directory contains two files: + +- `request`, which is an HTTP request which will be sent to the server +- `response` which is the expected HTTP response from the server + +TODO write a test runner for these + +### Litmus +[Litmus](LITMUS) is a ready-made WebDAV test suite. It was last updated +december 2011, but WebDAV isn't a moving target. + +`litmus.scm` starts an instance of our WebDAV server, and runs the litmus suite +against it. + + +### validate-html +Validate HTML code generated from the backend. + +Requires . + +### web + +[LITMUS]: http://webdav.org/neon/litmus/ -- cgit v1.2.3