[ZPT] unit testing new expression
Dethe Elza
delza@alliances.org
Sun, 30 Sep 2001 21:57:46 -0700
Hi folks,
I've made some progress in developing the xpath: expression type for
ZPT, but I could use some pointers to two things which I'm having
trouble mining from the existing code.
1) Are there examples of unit tests for expressions? The tests/
directory has some examples of compiling expressions, but there didn't
appear to be full test suites. Are there more tests available, perhaps
in CVS? If so, where is the CVS located for ZPT? I didn't see it
mentioned on the wiki.
2) What do I need to do to make the namespaces of the PageTemplate
available to the expression when it is called? This is what I'm having
trouble testing, so the two questions are intimately related.
TIA
--Dethe
--
Dethe Elza (delza@burningtiger.com)
Chief Mad Scientist
Burning Tiger Technologies (http://burningtiger.com)
Living Code Weblog (http://livingcode.ca)