How to improve software reusability of test cases

sponsored links
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):
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of How to improve software reusability of test cases

  • common flow compared Agile Development!

    Common flow compared Agile Development! Time: January 13, 2009 Source: The original Author of this site : Net Northeast Training Views: <noscript src="/Article/GetHits.asp?ID=6462"> </ noscript> 11 Agile Development Model Project Man

  • Who is in your heart the best AJAX framework

    Reproduced source: Quotations There is no doubt, Ajax as one of the most popular technology, the best framework for an endless stream. Prototype, Dwr, Dojo, JQuery, YUi ... ... are very good products. Introdu ...

  • JavaScript namespace easy implementation

    Prior to the introduction of namespaces, a way to make developers headache is how to prevent function name / class name and other people's conflicts, in an internal project team can be named among the scheduled (such as additional prefix, etc.) t ...

  • Swig to expand the use of ruby performance

    In the use of ruby / rails process, did find that sometimes unsatisfactory performance, such as to generate a 600 layer 3 of the item directory tree structure go take 20ms, to improve performance in the study using c / c + + Writing ruby module proce ...

  • js call apply

    1) no doubt about call, the simplest explanation is that: the hidden parameters of the first. Because usually a function (Function) call, there will be an extra hidden parameter is the function (Function) object belongs (if not the specific, compared ...

  • 09 economic situation may stimulate the Ruby on Rails?

    It is weeks, when the financial turmoil hit all over the sky at the time, layoffs crisis become the most reluctant to face all this. However, it will never be able to evade the truth. Earlier, PPLive and six houses several IT companies layoff news ha ...

  • 12 The most important J2EE best practices

    MVC Framework (as well as the J2EE implementation of the MVC) is one of the advantages of the component elements can (in fact, very easy) on your application for unit testing. Therefore, you can easily entity bean, session bean and the JSP an independent

  • Design Pattern in EJB Applications

    What is a Design Pattern Design patterns are a set of re-use, most people know, after cataloging, code design experience. For the use of design patterns are reusable code, so that the code more easily understood by others, and ensure the reliability code.

  • Hibernate's cache management

    Carried ] [http :// Cache is the cache, it is often to improve system performance are the most important means to serve as a reservoir of data and the role of a buffer. Cache for the substantial r ...

  • JUnit Unit Testing Summary

    Read some of the unit test article, from the article in the interception of a number of information, which could be considered in the learning process, a summary of it! See future! Unit testing code is not used to prove you are right, but in order to ...

blog comments powered by Disqus
Recent Entries
Tag Cloud
Random Entries