Browsable test suites

Hi folks,

When I wrote the cx:fileset step, I wrote almost 70 tests for it. And when I wrote the documentation[1] for it, I didn’t take the time to write any examples (examples are kind of tricky because they depend very directly on the layout of files and directories on your filesystem).

I decided to try to make the tests more useful as examples, so I knocked together some XSLT to create a browsable test archive. (This is similar to, but not exactly the same as, the browsable version on https://test-suite.xproc.org/)

You can wander through it at 

  https://www.xmlcalabash.com/test-suites/index.html

In particular, here’s a cx:fileset example that shows the pipeline, the directory layout necessary to run the test, the results, and the schematron checks that the test uses for validation.

   https://www.xmlcalabash.com/test-suites/extra-suite/tests/fileset-002.html

                                        Be seeing you,
                                          norm

P.S. Note to self: I’ve updated the test suite vocabulary a tiny bit and I should fold that back into what’s on the test-suite repository.

[1] https://docs.xmlcalabash.com/reference/current/cx-fileset.html

--
Norm Tovey-Walsh <ndw@nwalsh.com>
https://norm.tovey-walsh.com/

> I would rather be exposed to the inconveniences attending too much
> liberty than to those attending too small a degree of it.--Thomas
> Jefferson

Received on Friday, 20 June 2025 08:33:42 UTC