我如何测试我的 iOS 应用程序 [英] How do I test my iOS Apps

查看:29
本文介绍了我如何测试我的 iOS 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题可能很愚蠢,但有人可以指导我吗?

My question maybe silly, but can anyone coach me?

除了在编码的时候做一些测试(最有可能是白盒测试),在App构建完成之后,我们是否有一些测试工具或特殊的测试方法?

Except doing some test(most likely white box testing) while coding, after the App was built, do we have some testing tools or special method for doing the test?

我现在所能想象的只是手动测试我的应用程序的功能.

All I can imaging for now, is only manual testing the functionality of my App.

谢谢大家.

推荐答案

更新:添加了iOS4 自动化测试"部分

作为一名专业测试人员,我的建议是您应该将自动化测试和手动测试相结合.下面的示例在 .net 中,但应该很容易找到适合您使用的任何技术的工具.

As a professional tester my suggestion is that you should have a healthy mix of automated and manual testing. The Examples below are in .net but it should be easy to find a tool for whatever technique you are using.

自动测试

自动化功能测试
如果可能,您应该自动化很多功能测试.一些框架作品内置了功能测试.否则,您必须为此使用工具.如果您正在开发网站/应用程序,您可能需要查看 Selenium.
http://www.peterkrantz.com/2005/selenium-for-aspnet/

持续集成
使用 CI 确保每次团队中有人提交项目时,所有自动化测试都会运行.
http://martinfowler.com/articles/continuousIntegration.html

iOS4 自动测试
通过使用新的 UIAutomation Instrument 编写触摸事件脚本,自动测试您的应用程序.
部分链接:

Automated testing for iOS4
Automate the testing of your application by scripting touch events using the new UIAutomation Instrument.
Some links:

手动测试
尽管我喜欢自动化测试,恕我直言,它不能替代手动测试.主要原因是自动化只能做它被告知的事情,并且只能验证它被告知视为通过/失败的内容.人类可以利用它的智能来发现错误并提出在测试其他事物时出现的问题.

MANUAL TESTING
As much as I love automated testing it is, IMHO, not a substitute for manual testing. The main reason being that an automated can only do what it is told and only verify what it has been informed to view as pass/fail. A human can use it's intelligence to find faults and raise questions that appear while testing something else.

  • 探索性测试
    ET 是一种成本非常低且有效的查找项目缺陷的方法.它利用了人类的智慧,并且比我所知道的任何其他测试技术都更多地向测试人员/开发人员传授了该项目的知识.针对测试环境中部署的每个特性进行 ET 会话,不仅是快速发现问题的有效方法,也是学习和娱乐的好方法!
    http://www.satisfice.com/articles/et-article.pdf

这篇关于我如何测试我的 iOS 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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