Ask HN: Mobile developers, how do you do testing?
I would want to know how do you do testing right now for your mobile apps across multiple devices, especially in the world of Android when there are tons of devices with many versions of configurations, pixel density, screen size, etc.
Do you use any tools? If yes, how good are they?
7 comments
[ 3.8 ms ] story [ 18.1 ms ] threadHaving a range of devices at hand helps too.
In terms of testing, I use all the current tools that are available to web developers (automated tests for my javascript code with mocha[3], chrome developer tools for debugging, etc)
I do testing on an actual device as late as possible, when my app is actually already finished and well tested. In case I need to debug on the device there is remote debugging with chrome on android[4], which lets you debug your android app with chrome developer tools.
For automated integration tests there is also appium.io[5]. You can write integration tests and let them run for ios and android.
[0] http://phonegap.com/ [1] http://emberjs.com/ [2] https://developer.mozilla.org/en-US/docs/Tools/Responsive_De... [3] http://visionmedia.github.io/mocha/ [4] https://developer.chrome.com/devtools/docs/remote-debugging [5] http://appium.io/
I'm getting more and more convinced that this is the only way to guarantee that your site/app will work perfectly on all of these phones and tablets.
Some emulators can be a pita to install (iOS emulator only works on OS X, windows phone emulator needs Visual Studio on Windows 8 on hardware that supports HyperV) and they're still not 100% consistent with what will happen on the real device.
I haven't tried this this but another suggestion I read somewhere is to go to Bestbuy and test it on as many devices as you can :)