Is there any support for unit testing or acceptance testing applications? Has anyone used J2me unit or javolution on the device? What are the best strategies for TDD either on or off the device?
Thanks in advance.
We use a junit bundle to do some testing but we don’t have anything exposed to users. Any Java testing framework that’s compatible with Java 1.4 should work on the BUG. IRT TDD, I’ll defer to others on recommendations.
JUnit comes baked into Eclipse. It facilitates unit testing of regular java stuff and also Eclipse plug-in stuff. I have not tested a BUG application using JUnit on the real or virtual BUG, but my guess is that you would need to use JUnit 3.x since the BUG runs PhoneME, which is essentially java 1.4.
When I test Eclipse plug-ins, I create a testing plug-in that corresponds to the plug-in I wish to test. So if I have an Eclipse plug-in called MyPlugin, I create a testing plug-in called MyPlugin.tests that depends on the plug-in I’m te