Keyword-driven testing

上一篇 / 下一篇  2008-05-19 17:00:28

Keyword-driven testing(also: table-driven testing, action-word testing) is a software testing methodology. Although keyword testing can be used for manual testing, it is a technique particularly well suited to automated testing. The advantages for automated tests are the reusability and therefore ease of maintenance of tests which have been created at a high level of abstraction.

The keyword-driven testing methodology divides test creation into two stages.

Planning Stage

Implementation Stage

Although this methodology requires more planning and a longer initial time-investment than going directly to the test creation stage and recording a test, it does make the test creation and test maintenance stages more efficient and keeps the structure of individual tests more readable and easier to modify. The more abstract keywords are, the more reusable they are, and therefore the easier a test is to maintain. As well as reducing the cost and time spent maintaining and updating tests, the modular structure of keyword-driven testing means that new tests can easily be created from pre-existing modules.

Another advantage is the reduction in technical know-how required for the test automation process. In the first approach, technical know-how is only required by the engineers that implement the keywords. In the second approach, even this is not required, which means that the test team is capable of entirely automating tests, even without programming knowledge


TAG:

 

评分:0

我来说两句

日历

« 2024-05-11  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 14258
  • 日志数: 129
  • 建立时间: 2007-09-12
  • 更新时间: 2008-08-08

RSS订阅

Open Toolbar