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 ?
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 ?