[pmwiki-users] Re: Re: RE: Fixed: Error in cookbook rename function

chr at home.se chr at home.se
Wed Jun 1 11:22:46 CDT 2005


On Wed, 1 Jun 2005, Patrick R. Michaud wrote:

> 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.

Testing for markup would be very useful for cookbook recipies if nothing 
else, especially when you have various recipies that (might) interact...

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list