There is a test client already built for android. It is limited but still finds some bugs.
So far we have not been able to get it to run automatically with each build since it requires having an android device or emulator to run. I have a script that would build install and run the unit tests on an emulator but google changed the way the tools worked recently and it broke the script. The unit tests are found in the folder Java/iotivity-android/androidTest The script that worked to build and run the tests till recently is `run_android_smoketests.py` You can step through the commands giving in the script yourself and it will still work just takes more work from the user. It is also possible to get the unit tests working using Android Studio but I always had problems when trying that you may have more luck. George -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Steve Saunders (CableLabs) Sent: Tuesday, October 3, 2017 10:42 AM To: [email protected] Cc: Brian Scriber <[email protected]>; Matthew Forbes <[email protected]> Subject: [dev] Iotivity based Android test client Greetings All, In order to validate/trouble shoot our OCF testing environment for android devices, we are hoping that it might be possible to create an IoTivity based android test client (or perhaps one is built by default?) Is anybody aware of the existence of such a thing? Kind Regards Steve CableLabs _______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev _______________________________________________ iotivity-dev mailing list [email protected] https://lists.iotivity.org/mailman/listinfo/iotivity-dev
