Forums Register Login

Testing J2ME apps without using emulators

+Pie Number of slices to send: Send
Does anyone know if it is possible to test j2me applications without running up an emulator ?
The reason that I ask is that I'd like to use a testing framework for my j2me classes and JUnit seems the obvious choice. I don't want to have to run up an emulator to run tests because this contrasts with the "run unit tests often" ethos mandated in Extreme Programming and even if I could, JUnit uses reflection which is not supported in j2me.
If I run a JUnit test against a "j2me" class using the standard JVM, obviously things go a little haywire when calling native methods for e.g. persistant storage or networking.
Any ideas ?
+Pie Number of slices to send: Send
I'm not sure that it is at all possible. I do know that you can come up with your own emulator, so that may be the way to go. Check out the Basic Customization Guide for more information on how to develop your own emulator.
[ February 26, 2002: Message edited by: Valentin Crettaz ]
This is awkward. I've grown a second evil head. I'm going to need a machete and a tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 884 times.
Similar Threads
[ANT] Can I run a junit test suite in a multi-thread manner?
Can I make a real test to my App
System Tests
Unit testting for Struts application -JUnit or Cactus?
what I can do with junit ??
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:07:16.