How to improve software reusability of test cases

Problem Description: In the system testing stage in the preparation of software testing use cases as little as a few hundred, as many as over 10,000, to spend a lot of time and a considerable portion of the software run only one or two test cases, poor reusability. Here I would like to discuss how to improve software testing use case reuse, especially between different projects.

Wonderful answer:

Member yolander:

Test case for software reuse, I think a lot of software test engineer will be very something to say, the system changes frequently, business changes, the workflow is not uniform and so many real problems have hindered the development of software test case reuse process, but the financial turmoil, more and more IT companies are doing in order to reduce costs unflagging effort, such as product-based solutions and build reusable software system platform, the development of reusable components and other features so, no doubt, these will be for us to improve the reusability of test cases laid the foundation for the development staff did an aside, while we are here only for the testers themselves how to improve the complex test case to discuss it with sex:

Here need to first distinguish between what is manual or automatic test case test case?

First, for automatic test case, first of all is to change the script development methods, such as:

1. Data-driven scripts: the test data separate from the script, stored in an external file, when the data changes, no longer need to change the code, the script is relatively low maintenance costs

2. Keyword-driven script: the script checks the control points and perform the operation are maintained in an external file, the same data and code will be separated, can be said to combine data-driven method of script development, improved test scripts to share and reuse, drawback is that the script needs more programming development experience and design capabilities

Second, the manual test case, then we need to address the following questions:

1. Test case management tool: before that many discussions have not mentioned this, but I want to say is that advance preparation of its profits, a good test case management tool will absolutely be the test case reuse brings simple, convenient and fast, office document is more than suitable for the construction and maintenance of test case library

This article is reproduced from 51Testing Software Testing Network (see text): http://www.51testing.com/html/69/n-211269.html

分类:Development 时间:2010-04-01 人气:205
分享到:
blog comments powered by Disqus

相关文章

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.500 (s). 12 q(s)