[pmwiki-users] Re: RE: Fixed: Error in cookbook rename function
Patrick R. Michaud
pmichaud at pobox.com
Wed Jun 1 11:02:47 CDT 2005
On Wed, Jun 01, 2005 at 02:25:41PM +0200, Joachim Durchholz wrote:
> Alternatively, we could devise a (:test <name>:) ... (:expect:) ...
> (:testend:) markup that passes through the <name> and anything after
> (:expect:) unchanged. (Actually seems to be simpler than requiring all
> tests to follow the TEST.../TEST form, with proper escaping in just the
> right places.)
This is how my original test suite worked, and it's generally okay
except I think we sometimes want wildcarding or pattern matching
capabilities in the expect portion of the test. And as you mentioned
it's really only good for testing markup -- we'd also need a testing
framework for PmWiki's internal operations such as saving files and
page history and the like. But perhaps testing markup is a good
enough start.
Pm
More information about the pmwiki-users
mailing list