diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-03 22:31:45 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-03 22:31:45 +0200 |
commit | 18a06649123fc0e8fcaf6c81ca863e521a25ddd4 (patch) | |
tree | 0c5d1cd67901de2aff65000ffee9f381ea4c8cff | |
parent | Cleanup in lens. (diff) | |
download | calp-18a06649123fc0e8fcaf6c81ca863e521a25ddd4.tar.gz calp-18a06649123fc0e8fcaf6c81ca863e521a25ddd4.tar.xz |
Add readme for tests.
-rw-r--r-- | tests/README.md | 40 |
1 files changed, 40 insertions, 0 deletions
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 <https://github.com/svenkreiss/html5validator>. + +### web + +[LITMUS]: http://webdav.org/neon/litmus/ |