The use of jython for the output source code is generally pretty good.

However, it can be useful to output it to different languages, in particular Java, so that pure JUnit TestCases can be generated, and then compiled, and plugged into one of the many JUnit reporting frameworks.

I have refactored MaxQ to make the generated code style changable using the strategy pattern, and have provided strategies for the existing Jython output, and also one that generates straight Java code.

Unfortunately, I did this against the last released version of MaxQ, not the version in CVS, and will now have to update to bring this in line. For my current project I can get away without doing the upgrade, but if there is interest, I am willing to do the updates to bring it into line, and give it for use in the main version.