jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: [Bug 377] Changed - Convert regexp test suite to JUnit BugRat Report#667
Date Wed, 28 Feb 2001 10:51:04 GMT
Michael McCallum <michael@spinsoftware.com> wrote:

> Did not look at the reply address :)

This is the nice thing about mailing lists setting reply-to headers 8-)

>> I'd suggest you take a look at Ant's <junit> task.

> Have. What I was thinking is that this is a junit test that I would
> like to include in both regexp and oro but dont wish to copy and
> paste the code to poth repositories.  

I see.

> I think that with ant using the regexp packages itself it needs to
> test to make sure they are working to standard.

Take a look at the JUnit testcases for the regexp stuff in Ant itself
- we have a base testcase that gets applied to the different regexp
implementations Ant supports.

> Given that you can use another regexp package by implementing the
> RegExpMatcher interface its possible that people will want to use
> third party package so there should be a test suite that the users
> can use to make sure the package is performing.

I've done so myself for the GNU variety of regexp engines. Together
with some customization to the base testcase as GNU RE doesn't agree
with my interpretation of regular expressions. See


View raw message