Browse Prior Art Database

Improving quality using automated process of pruned regression test buckets to reduce cost

IP.com Disclosure Number: IPCOM000011979D
Original Publication Date: 2003-Mar-27
Included in the Prior Art Database: 2003-Mar-27
Document File: 2 page(s) / 58K

Publishing Venue

IBM

Abstract

The problem of bad updates in the service release often occur because the relevant testcase are not run during the test phase, and there is no automated way to decide which testcase should run when there is a change made to a function.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 2

  Improving quality using automated process of pruned regression test buckets to reduce cost

T he solution to this problem is to add a testcase mapping file in code repository for every 'c' file as shown in the Figure 1 below

c file Te stca se file

Map f i l e

f1,f2 and f3 are the function in the c file. t1,t2 and t3 are the set of testcases to be run for the respective function.

So from the above information when code changes are dropped into the code repository (CMVC = Configuration Management and Version Control) for function f1 the developer can be notified immediately that he/she needs to run testcase set t1. This will cover the functional testing of function f1.

Now, to do integration testing, use the symbols and functions database generated from the code repository to find out which functions are calling function f1 and depending on the level of testing one needs to do the list of testcase sets to be tested for this change can be determined. As shown in Figure 2.

If the changes have been made to function f4 then for integration testing depending on the level testing to be done the following testcase set can be run t1,t3 and t4 or t1,t2,t3,t4 and t5 ( the reason we are running t2 and t5 is as these functions are indirectly calling the function f4).

1

t1

f1

f2

t2

f3

t3

[This page contains 1 picture or other non-text object]

Page 2 of 2

Figure 2

Disclosed by International Business Machines Corporation

2

[This page contains 77 pictures or other non-text objects]...