Browse Prior Art Database

A method of dynamically manage test cases as an ecosystem based on test points and digraph

IP.com Disclosure Number: IPCOM000237273D
Publication Date: 2014-Jun-11

Publishing Venue

The IP.com Prior Art Database

Abstract

This invention introduced a method generate and manage test cases dynamically based on test points. As we know, one test case consists of test points, if one test point is updated, many test case need to be updated accordingly. Thus it’s time consuming to maintain one test point in many test cases. This method use digraph manages all of the test points; and the path between the test points has a weight. This weight is used to decide which path is more critical. Test cases can be generated from this test point digraph. And each test case with a value, the value may be got from the summation of weight, or other product related criteria. The most suitable test cases can be generated for each test phase. The digraph will be updated while product feature changed, and also will be optimized according to the result of the test case execution. From the digraph, we can find the valuable test case, such as the test cases that are easy to have high severity defects, and also to select the regression test cases. Thus use this method to manage the test cases; it will be formed as an ecosystem through some times iteration of the software developing and testing. qeqeeqeq

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 42% of the total text.

Page 01 of 12

A method of dynamically manage test cases as an ecosystem based on test points and digraph

1.1 Background

Test cases are key elements of software testing. In order to make sure software is fully tested; tester needs to prepare, maintain and

execute full coverage test cases. As we know, test case consists of test points. , Tester usually does kinds of test points' combinations in order to make sure test coverage is enough. Thus one test point will occur in many test cases. If one test point is updated, all of the test cases which contain this test point need to be updated. It's time consuming to maintain one test point in many test cases. What's more, prepare full coverage test cases and execute all of these test cases in one test phase is impossible. These pre-prepared test cases set are static, however the software is always changing, and test focus is accordingly needed to change. That means test cases set need to fit for the change. Generally, weak area always has more defects, it's much valuable if can prepare and execute test cases focus on change area.

1.2 Problem by example

    In Agile development model, developers always implement function in simple way in original iteration, then improve them in next develop iteration. So tester need to refine existed test cases according to the change. At present, tester will analysis updated new feature and split new feature to several test points. Tester need check if any existed test case should be dropped, or if any test cases should be updated, or if any new test cases should be added; at last, do the update work one by one. One changed test point may occur in several test cases, in order to make sure all changed function still work well, it need full test coverage for the changed feature. It is a huge work while there are lots of existed test cases or there is a big feature design change.. Tester usually store test cases in a management system. While in regression test cycle, tester will select some test cases from the test cases management system based on function area or other criteria. However, there are often some defects reported by free test and there is no responding test case. That means we lack of this test case is valuable after some code change. In concluding there are below issues need to be resolved

(1) Maintain one test point in many test cases

(2) Test case set is static, can't dynamic change responding to continue code change.

1


Page 02 of 12

In order to maintain test cases and execute test effectively, this invention introduced a method generate and manage test cases dynamically based on test points.This method use digraph manages all of the test points; and the path between the test points has a weight. This weight is used to decide which path is more critical. Test cases can be generated from this test point digraph. The digraph will be updated while product feature changed, and also will be optimized according to the result of the test case execution. From the di...