That was something I did in the tests I wrote for the regex prototype in
the incubator.  This was done by having a method that created the test
target, then creating a second subclass in the same file with a method
override that changed to type of the value being tested.

see incubator/regex/regex.testGroup in the svn repository.

This could be done for for string/mutable buffer tests where the test is
not altering the mutable buffer contents, so it could easily be done for
things like substr(), match(), etc.

On Fri, Oct 23, 2015 at 1:16 PM, Erich Steinböck <[email protected]
> wrote:

> Rick, I believe I've seen some magic in rexxootest, so that some tests
> would be run both for String and MutableBuffer without having to duplicate
> the test.
>
> Am I remembering correctly? Do you have a pointer?
>
> Maybe this could be even further extend to cover not only
> String/MutableBuffer, but also caseless/normal from within a single test.
>
> Erich
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
>
------------------------------------------------------------------------------
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to