This was my first real foray into building JUnit tests for Kettle
transformation steps. I was very unhappy with the amount of copy and
paste and tweaking that had to be done to add just one more test.
Obviously, some of it is unavoidable, but I took the time to refactor
out as much of it as I could into a new class that I tried to design
to be able to streamline at least some of the pain away.
The class was commited in revision 7634 and is currently in the
package /Kettle/trunk/test/org/pentaho/di/trans/steps/regexeval/
TransformationTestCase.java and the RegexEvalTest.java class inherits
from it.

If it looks interesting and/or useful to you, I would be willing to
try to find a bit of time to move it into a more generic package and
refactor some of the existing unit tests to take advantage of its
helper methods to encourage wider use.

If it is flawed in some way then let me know so I can make sure that
RegexEvalTest isn't broken and we can never speak of the suggestion
again.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "kettle-developers" group.
To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to kettle-developers-unsubscribe (AT) g...oups (DOT) com
For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
-~----------~----~----~----~------~----~------~--~---