- From: James Fuller <james.fuller.2007@gmail.com>
- Date: Thu, 7 Jun 2007 22:07:26 +0200
- To: public-xml-processing-model-comments@w3.org
Hello, I would like to be able to write unit tests in Xproc to test Xproc pipelines. At a minimum I would propose some sort of p:assert task that compares values....typically xml trees. From an implementators viewpoint, this could be as simple as wrapping up xmlunit. Other ideas could be; * adding an xpath attribute to p:assert to test for things (ala schematron style assertions). * testing for the existence of file items like perl's Test::Files The output of such tests should be similar to XML output of other unit testing type packages.... Have the WG for XML Processing thought about this scenario? cheers, Jim Fulller
Received on Thursday, 7 June 2007 20:07:28 UTC