自动化测试流程


什么时候需要自动化测试

这个问题几乎每个学习自动化的人都会遇到,答案也是各不相同,但问题本质上离不开这几个因素:

  • 1.> Test Times – if you often required to do regression test
  • 2.> Test Environment – if the test environment is stable
  • 3.> Reusable Repeat Operation – if your projects have the large of reusable repeat operation
  • 4.> Project release frequency – if your project is a long term project and if the release is frequency
  • 5.> Effort Measure – if the effort is measurable/calculate between manual and automation

基本上如果一个项目满足这些必要条件,那么自动化测试的优势就会比较明显,这也是衡量我们是否导入自动化测试的一个前置判断。另外,通过上面的分析,我们也很容易得出自动化测试的优缺点 –

The merit of using Automation Test

  • 1.> It’s more convenient for regression test
  • 2.> It’s more quickly and efficiently to run the complex cases
  • 3.> It can take advantage of the resources well and make the people pay more attention to the jobs that more needs manual focus on
  • 4.> Reduce the mistakes of human caused
  • 5.> More accurate to simulate the manual test
  • 6.> Save effort

The demerit of Automation

  • 1.> Automation不能完全代替Manual
  • 2.> Manual test 必定会比自动化测试发现更多的bug
  • 3.> 自动化测试对环境和相关前置条件的依赖比较大
  • 4.> 自动化测试没有Manual测试的想象空间大
  • 5.> 不要奢望自动化测试能帮助你发现所有的问题
自动化测试流程

什么是自动化的测试流程?这也是每个学习自动化测试的人员必须面对和回答的问题, 做任何事情都必须遵循一定的准则。 自动化测试流程的作用就在如此。它是指导自动化测试的总体原则和自动化工作展开的参考依据。那么什么是自动化测试流程呢?简言之,如下图(图1-1自动化测试示意图)

图1-1 自动化测试示意图
自动化测试流程图

st=>start: start
e=>end: ending
op1=> operation: caozuo

st->op1->e

Author: Alan_Yuan
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source Alan_Yuan !
 Previous
The Common Knowledge of Python - I The Common Knowledge of Python - I
学习任何一门语言,首先要了解它的基本语法,熟练的掌握语法是写好程序的首要条件,任何一种编程语言,它的语法架构有着惊人的相似,对于有一定编程基础的童鞋来说,学习Python真的很得心应手。这里我粗略梳理一下Python语言的基本要点,希望对系
2015-10-23
Next 
  TOC