diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-16 14:57:08 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-16 14:57:08 +0200 |
commit | 9b28572aefbfecbb9caf96a54bdb4a817edbad61 (patch) | |
tree | 9f863869b8b2102aea4674cf4005322a1c856b7b /tests/unit/formats/README.md | |
parent | Add test for object equivalence. (diff) | |
download | calp-9b28572aefbfecbb9caf96a54bdb4a817edbad61.tar.gz calp-9b28572aefbfecbb9caf96a54bdb4a817edbad61.tar.xz |
Rewrote the data format tests.
Diffstat (limited to '')
-rw-r--r-- | tests/unit/formats/README.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/unit/formats/README.md b/tests/unit/formats/README.md new file mode 100644 index 00000000..c41a0c58 --- /dev/null +++ b/tests/unit/formats/README.md @@ -0,0 +1,14 @@ +Data format tests +================= + +These aren't really unit tests, but run fine through the same +framework. + +The file [`run.scm`](run.scm) contains a reference calendar (or +"master record") component which should contain all weird cases which +may be encountered. It then tries to serialize this component to all +registered serialization formats (iCalendar, xCalendar, ...) and +checks it against a pre vetted reference file. + +It then takes the serialized form and parses it back into a Guile data +structure, and checks it against the "master record". |