Skip to content

j2meunit reports

I’ve been working on setting up continuous integration of a j2me project using cruise control to fire up ant build. For compiling, packaging and obfuscation I use industry’s standard tools: antenna, and for unit testing I use the only available option: j2meunit. (Long live the SourceForge that hosts all of this open source projects.)
So I’ve got the scheduled build running, and CruiseControl is now sending build reports, everything is sweet. Except one thing: j2meunit does not produce xml reports, so CC does not recognize any output:

No Tests snapshot

Unit Tests: (0)
No Tests Run
This project doesn’t have any tests

Looking at j2meunit.textui.TestRunner it reveals that it only supports stdout as the output, so there is no build it xml reporting. I wonder if anyone came up with workaround on how to include j2meunit results into CruiseControl report??

As for me, I guess next step is to take a look how it is done in junit, and see if I would have time and ability to port it into j2meunit.

technorati tags: j2me j2meunit cruisecontrol

One Comment

  1. Tim Cox wrote:

    I need this too! Am probably going to write a TestListener for it.

    Tuesday, March 18, 2008 at 4:31 pm | Permalink

Post a Comment

You must be logged in to post a comment.