TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Mobile developers, how do you do testing?

12 点作者 softwareman大约 11 年前
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.<p>Do you use any tools? If yes, how good are they?

7 条评论

wnm大约 11 年前
I develop my apps with phonegap[0] and ember.js[1], this way I can use tools like firefox&#x27;s responsive design view[2] to make sure it works on different screen sizes&#x2F;resolution.<p>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)<p>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.<p>For automated integration tests there is also appium.io[5]. You can write integration tests and let them run for ios and android.<p>[0] <a href="http://phonegap.com/" rel="nofollow">http:&#x2F;&#x2F;phonegap.com&#x2F;</a> [1] <a href="http://emberjs.com/" rel="nofollow">http:&#x2F;&#x2F;emberjs.com&#x2F;</a> [2] <a href="https://developer.mozilla.org/en-US/docs/Tools/Responsive_Design_View" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Tools&#x2F;Responsive_De...</a> [3] <a href="http://visionmedia.github.io/mocha/" rel="nofollow">http:&#x2F;&#x2F;visionmedia.github.io&#x2F;mocha&#x2F;</a> [4] <a href="https://developer.chrome.com/devtools/docs/remote-debugging" rel="nofollow">https:&#x2F;&#x2F;developer.chrome.com&#x2F;devtools&#x2F;docs&#x2F;remote-debugging</a> [5] <a href="http://appium.io/" rel="nofollow">http:&#x2F;&#x2F;appium.io&#x2F;</a>
atox大约 11 年前
The company I&#x27;m currently working with purchased 30+ mobile devices.<p>I&#x27;m getting more and more convinced that this is the only way to guarantee that your site&#x2F;app will work perfectly on all of these phones and tablets.<p>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&#x27;re still not 100% consistent with what will happen on the real device.
omgmog大约 11 年前
The developer tools in Chrome are a good starting point, you can emulate the screen size, user agent and orientation of a number of devices. A quick Google surfaced this article about the emulation: <a href="http://www.realeyes.com/blog/2014/02/19/a-quick-guide-to-chromes-new-built-in-device-emulation/" rel="nofollow">http:&#x2F;&#x2F;www.realeyes.com&#x2F;blog&#x2F;2014&#x2F;02&#x2F;19&#x2F;a-quick-guide-to-chr...</a><p>Having a range of devices at hand helps too.
vktheitgirl将近 11 年前
I recently tried genymotion.com. I am pleased with it so far in terms of testing on android. Of course, it is not the same as testing on real devices. For now, I am just testing using this. Later, I am going to ask friends and family to test my app on their various devices.<p>I haven&#x27;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 :)
gspyrou将近 11 年前
You could take also take a look at Nokia Remote Device Access <a href="http://developer.nokia.com/resources/remote-device-access" rel="nofollow">http:&#x2F;&#x2F;developer.nokia.com&#x2F;resources&#x2F;remote-device-access</a> (Android Nokia X , Windows Phone Lumia , Nokia Asha).
petervandijck将近 11 年前
1. Make a list of current target devices for this project (depends on project). 2. Buy a representative set of them (like 5 or 10) 3. Test on those real devices.
qgaultier将近 11 年前
on android, I use genymotion as a quick test tool. But my company also own many devices Os * density * size for final tests.