In the developer guide of Codename One, it's written so: «Codename One includes a built in testing framework and test recorder tool as part of the simulator. This allows developers to build both functional and unit test execution on top of Codename One. It even enables sending tests for execution on the device (pro-only feature).»
Using a pro account, what are the steps to do a test on a real device?
You need to set the build hint
build.unitTest=1
which will build a version of the app that just executes the unit tests. This isn't as useful without continuous integration which is an enterprise feature...To implement this you can do something like add a build target to your ant file:
With the enterprise version you can do a synchronized build, get the result then run it on devices using appium etc. We'll come up with a guide for that soon.