By doing so, the J2MEUnit APIs will be closer to 100%
compatibility with the standard JUnit.
Why is this important?
Using the antena preprocessor, one is able to to make
builds using either J2MEUnit (when testing on small
devices) but also run them using the standard J2SE jUnit
(which allows using the whole pletora of jUnit tools
available out there).
The tools I needed to use in particular are the ant jUnit
plugin and the eclipse jUnit one. Until now I've only
tried the Eclipse plugin (which works well).
Here's how the preprocessor part looks like:
Log in to post a comment.