应该如何将自动化测试引入到已经投入生产的软件中?

How should one introduce automation testing to a software which is already in production?

如何为已经投入生产的软件(Android & iOS)引入自动化测试?此类软件仅接受用户验收测试(手动),该测试是手动完成的。既然系统已经建成,那么引入自动化测试的最有效方法是什么?应该从哪里开始呢?理想情况下,应该从哪种类型的测试开始?谢谢

既然你处在传统方法行不通的情况下,我的建议是扭转它。自动化测试需要稳定且独立的环境 运行(假设您不会在本地 PC 上进行测试),因此确保 QA 是实现

的第一步

introduce automation testing

将您的产品代码移动到较低的环境将使您有机会构建管道,我的假设是未来的开发将被采用,这就是您面临这种情况的原因。

关于

Which types of testing would one ideally start with

一旦您的 QA 环境 Smoke testing will give you first results and if used for every deploy/release will guard you from broken env or deploys. Another major part is the Integration testing, it'll verify functional, performance, and reliability requirements. I'm assuming the code has already passed Unit testing. After the development is in active state again, next logical step is to go with the Regression 生效,您就会对产品的新功能充满信心。

因为这将是一项重要的自动化工作 - CI process and server should be put to work. Here you can chain the Smoke suite. You can take a look at circleci or greenhouseci 适合您的情况

automation testing for a software (Android & iOS)

实现上面所说的,实际上由企业决定多少测试就足够了。他们需要安全性、性能、可用​​性等吗?