Keyword-driven testing

本文介绍了一种软件自动化测试方法——关键词驱动测试,该方法将测试创建过程分为规划阶段和实施阶段,具有易于维护、便于修改及重用等特点,并列举了如GUIdancer和QTP等示例工具。

Address: http://en.wikipedia.org/wiki/Keyword-driven_testing

Keyword-driven testing, also known as table-driven testing or action-word testing, is a software testing methodology for automated testing that separates the test creation process into two distinct stages: a Planning Stage, and an Implementation Stage.

Examples include GUIdancer and QTP.

Pros

  1. Maintenance is low in the long run:
    1. Test cases are concise
    2. Test cases are readable for the stake holders
    3. Test cases easy to modify
    4. New test cases can reuse existing keywords more easily
  2. Keyword re-use across multiple test cases
  3. Not dependent on a specific tool or programming language
  4. Division of Labor
    1. Test case construction needs stronger domain expertise - lesser tool / programming skills
    2. Keyword implementation requires stronger tool/programming skill - with relatively lower domain skill
  5. Abstraction of Layers

[edit]Cons

  1. Longer Time to Market (as compared to manual testing or record and replay technique)
  2. Moderately high learning curve initially
Who said QTP does not belong to keyword-driven tool? I do doubt that.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值