重温测试自动化 徐毅@chinatest salon beijing
DESCRIPTION
ChinaTest北京测试沙龙上的演讲材料《重温测试自动化》。 Materials of "Test Automation Revised", contact me if you're not able to read Chinese.TRANSCRIPT
![Page 1: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/1.jpg)
重温
测试自动化
徐毅
![Page 2: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/2.jpg)
什么是测试自动化?
测试自动化就是任何使用工具辅助测试的做法(any use of tools to aid testing)。
它扩大了测试人员的能力范围。
----- James Bach
http://www.satisfice.com/blog/archives/118
![Page 3: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/3.jpg)
任何?
赤手空拳 全副武装
![Page 4: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/4.jpg)
测试自动化与自动化测试
Test Automation
Automated Testing
![Page 5: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/5.jpg)
手工测试与探索式测试
Manual Testing
Exploratory Testing
![Page 6: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/6.jpg)
测试自动化与探索式测试
Test Automation
Exploratory Testing
![Page 7: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/7.jpg)
如果 未能正确地理解测试自动化,
有什么害处?
![Page 8: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/8.jpg)
常见问题 不切实际的期待
低劣的测试实践
想找到大量缺陷
无来由的安全感
高昂的维护开销
工具自身的问题
组织层面的支持
![Page 9: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/9.jpg)
局限
无法取代手工测试
手工测试找到更多缺陷
高度依赖测试的质量
不会提高测试的有效性
会限制软件开发
工具没有想象力
![Page 10: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/10.jpg)
测试自动化的不同方式
![Page 11: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/11.jpg)
线性脚本
Picture credit to: Nokia, Robotframework
![Page 12: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/12.jpg)
模块化脚本
Picture credit to: Nokia, Robotframework
![Page 13: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/13.jpg)
数据驱动测试
Picture credit to: Nokia, Robotframework
![Page 14: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/14.jpg)
关键字驱动测试
Picture credit to: Nokia, Robotframework
![Page 15: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/15.jpg)
关键字驱动测试:样例
Picture credit to: Nokia, Robotframework
![Page 16: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/16.jpg)
更多……
![Page 17: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/17.jpg)
测试自动化
![Page 18: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/18.jpg)
自働化(Jidoka)
![Page 19: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/19.jpg)
持续集成、部署、交付
![Page 20: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/20.jpg)
ATDD、BDD、SbE
![Page 21: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/21.jpg)
This work is licensed under the Creative
Commons Attribution-NonCommercial-
NoDerivs 2.5 China Mainland License.
To view a copy of this license, visit
http://creativecommons.org/licenses/by-
nc-nd/2.5/cn/ or send a letter to Creative
Commons, 444 Castro Street, Suite 900,
Mountain View, California, 94041, USA.
本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可
![Page 22: 重温测试自动化 徐毅@ChinaTest salon beijing](https://reader034.vdocuments.pub/reader034/viewer/2022050719/558d1318d8b42ab25d8b4702/html5/thumbnails/22.jpg)
联系方式
mailto:[email protected]
mailto:[email protected]
Skype : KAVERJODY
新浪微博: 徐毅-Kaveri
腾讯QQ : 17376122
豆瓣:KAVERJODY
http://blog.sina.com.cn/kaverjody
http://kaverjody.wordpress.com
http://www.linkedin.com/in/kaveri