aboutsummaryrefslogtreecommitdiff
path: root/tests/README.md
blob: f79424d71c28f08b9893a157f6dd0dc8c08c88c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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/