groupon / odo

A Mock Proxy Server
Apache License 2.0
153 stars 29 forks source link

ODO on Android device #136

Open abhagupta opened 8 years ago

abhagupta commented 8 years ago

HI, We want to use ODO for our unit testing and wondering if anyone has tried importing the odo.war file inside the APK to be executed on android devices or emulators for unit testing. Any ideas are appreciated.

Thanks

djrenfro commented 8 years ago

Never tried importing the odo.war inside the APK. If you are looking to have your unit tests go through odo and modify on the fly, you can include the odo client folder dependency (can be included on its own) in your apk and run odo on a computer that the apk routes traffic through. Then use the client library to communicate with odo (can retrieve history, set custom responses, etc).