jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCallum <gho...@xtra.co.nz>
Subject [Test Suites]
Date Sun, 18 Feb 2001 13:14:55 GMT
My plan is to create an ant task that performs a set of tests on a regular 
expression.

Something like the following...

<regexptest pattern="w+"/ error="no">
    <test text="a word type thing" match='yes">
      <subexpression text="a"/>
    </test>
</regexptest>

I have not played with the ant source in a while so not sure if its possible 
to do this but from memory the sql uses ant in a similar way so should be 
possible.
  
This would be useful for test suites not only for development within the oro 
and regexp packages but also for testing re used in other projects.

Will add the ability to use fields and possibly methods in the tests as well.

Michael


Mime
View raw message