Unit testing in servoy

Does there exist a plugin for servoy so I can do unit testing for our ever growing servoy solution? Is it something on the drawing board for 4.0?
Basic regression testing has become a major pain in our 200+ form ERP solution.

(For the people unaware of of what unit tests are http://en.wikipedia.org/wiki/Unit_testing)

What unit testing framework ? JUnit ?
Against what target components are you thinking about executing your tests ?

I’ve been putting some thought into this lately, but haven’t started to implement anything.

My recent thoughts are to use Watir (http://wtr.rubyforge.org/) against the web client for some of the things I want to accomplish. That in combination with a few simple test methods for global methods like:

assert_method_result_equals( methodName, arguments, result )

Fixtures are a bit of an issue, however. I guess I’m going to have a special test installation of Servoy with dataproviders pointing to different dbs and some special scripts to generate the test data in a consistent way.

g.

Maybe it is possible to add something like this to The Analyzer.

Not sure thought since The Analyzer is not meant to execute any code but it sure is designed to gain additional insight in what a solution does.