iPhone OS测试最佳实践 [英] iPhone OS Testing Best Practices

查看:79
本文介绍了iPhone OS测试最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不久前,iPhone开发非常简单,只有少数操作系统版本甚至更少的设备。

Not so long ago iPhone development was quite simple, only a few OS versions and even less devices.

然而,现在有两个主要的OS版本和5个不同的设备需要考虑。

Now however, there are 2 major OS versions and 5 different devices to consider.

作为一家公司发布多个应用程序测试已成为越来越多的问题。

As a company about to release several applications testing has been become more and more of an issue.

测试所有组合的最佳方法是什么,我是否需要获取每一代iPhone和iPod Touch?有没有我可能需要编码的特定硬件/操作系统组合的问题?

What are the best ways to test all combinations, do I need to acquire every generation of iPhone and iPod Touch? Are there any gotchas with specific hardware/OS combinations I might need to code around?

我想我的问题是,所需的最低测试量是多少?基地?

I guess my question is, "What's the minimum amount of testing required to cover all the bases?"

推荐答案

根据我的经验,iPod / iPhone之间不会有太多的兼容性问题。还有其他需要注意的事项:

In my experience, you won't have much compatibility trouble between iPod/iPhone. There are other gotchas to be aware of:


  • 设备以不同的速度运行。 iPhone v1和iPhone 3G运行在412MHz; iPod Touch运行频率为532MHz,新款3GS运行频率为600MHz。如果你看上去,这会对性能甚至功能产生很大的影响。

  • EDGE / 3G / WiFi网络之间存在巨大的性能差异;通常这些差异是违反直觉的。 EDGE通常具有比3G更好的延迟(到第一个字节的时间),而3G具有10倍更好的带宽。您需要在所有三种情况下测试您的应用。

  • 您使用的是核心位置吗? iPhone v1和iPod Touch没有GPS。

  • 你在使用相机吗? iPod Touch没有相机。

  • 您的应用是否与越狱手机兼容?很多人都做过,如果你的应用程序崩溃,他们会责怪你,而不是开发团队的黑客,这将反映在你的App Store评级中。请特别注意,后台应用程序可能会耗尽您可能认为专门针对您的应用程序提供的内存。给自己留一些开销。

  • The devices run at different speeds. iPhone v1 and iPhone 3G run at 412MHz; iPod Touch runs at 532MHz, and the new 3GS runs at 600MHz. This can have a big impact on performance and even functionality if you're getting fancy.
  • There's a huge performance difference between EDGE/3G/WiFi networks; often the differences are counter-intuitive. EDGE can often have better latency (time to first byte) than 3G, while 3G has 10x better bandwidth. You'll want to test your app under all three conditions.
  • Are you using Core Location? iPhone v1 and iPod Touch do not have GPS.
  • Are you using the camera? The iPod Touch does not have a camera.
  • Is your app compatible with jailbroken phones? A lot of people have done it, and if your app crashes on them, they will blame you, not the Dev Team hackers, and this will be reflected in your App Store ratings. Note especially that background apps can use up memory that you might have thought would be available exclusively for your app. Leave yourself some overhead.

那么,你需要买什么?如果你是一个认真的开发人员,是的,你应该拥有所有5个设备。但是你需要测试所有5个设备上的每个构建吗?您的每个开发人员每个都需要5个设备吗?不。

So, what do you need to buy? If you're a serious developer, yes, you should have all 5 devices available. But do you need to test every build on all 5 devices? Does every one of your developers need 5 devices each? No.

一位开发人员可以测试一下iPhone 3G和iPod Touch的重要事项。投入3GS,你的报道可能几近完美。 (请注意,3GS上的开发更好,因为CPU速度更快,因此您的应用程序部署速度更快。)

One developer can probably test everything that matters with one iPhone 3G and an iPod Touch. Toss in a 3GS and your coverage is probably nearly perfect. (Note that development on 3GS is much nicer just because the CPU is faster, so your apps deploy more quickly.)

在工作中,我们每个开发人员都有一台设备,但是是3G和iPod设备的混合体(今天是3GS)。

At work we have one device per developer, but they're a mix of 3G and iPod devices (and, today, one 3GS).

这篇关于iPhone OS测试最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆