# US 2012/0254660 A1 · Processing test cases for applications to be tested

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0254660 A1
- Document ID: US20120254660A1
- Status: Published application
- Kind: A1
- Application number: 13/435,807
- Filed: 2012-03-30
- Published: 2012-10-04
- Earliest claimed: 2011-03-30
- Assignees: International Business Machines Corporation
- Inventors: LE HE; Zhong J. Li; Yong G. Pan; Chunhua Tian; Rui Xiong Tian; Qing Bo Wang; Jun Zhu
- Web page: https://patentgrep.com/patent/US20120254660A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention discloses a method and system for processing test cases for applications to be tested. The method includes evaluating two applications to be tested; obtaining test cases for the two applications to be tested and determining resources and execution times needed by the test cases for the two applications to be tested. According to the compatibility relationship between the two applications to be tested, and the resources and execution times needed by the test cases for the two applications to be tested, the test cases for the two applications to be tested are clustered to a virtual machine instance to test the test cases for the two applications to be tested on the virtual machine instance.

## Claims

### Claim 1

A method of processing test cases for applications to be tested, the method comprising:
evaluating at least two applications to be tested to determine a compatibility relationship between the at least two applications to be tested;
obtaining test cases for the at least two applications to be tested and determining resources and execution times needed by the test cases for the at least two applications to be tested; and
according to the compatibility relationship between the at least two applications to be tested, and the resources and execution times needed by the test cases for the at least two applications to be tested, clustering the test cases for the at least two applications to be tested to at least one virtual machine instance to test the test cases for the at least two applications to be tested on the at least one virtual machine instance.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the compatibility relationship between the at least two applications to be tested comprises at least one of a hardware compatibility relationship and a software compatibility relationship.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the hardware compatibility relationship between the two applications to be tested is determined based on whether types of hardware needed by the two applications to be tested are identical.

### Claim 4 (depends on 2)

The method according to claim 2, wherein the software compatibility relationship between the two applications to be tested is determined based on whether types of software needed by the two applications to be tested are identical.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the software compatibility relationship between the two applications to be tested is determined further based on whether specific software needed by the two applications to be tested is identical.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the software compatibility relationship between the two applications to be tested is determined further based on whether versions of specific software needed by the two applications to be tested are compatible.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the software compatibility relationship between the two applications to be tested is determined further based on whether configurations of the two applications to be tested conflict.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the software compatibility relationship between the two applications to be tested is determined further based on whether a configuration of at least one of the two applications to be tested is modifiable.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising grouping the test cases for the at least two applications to be tested based on a certain rule, and wherein the clustering the test cases for the at least two applications to be tested to at least one virtual machine instance comprises clustering the test cases for the at least two applications to be tested to at least one virtual machine instance at a granularity of the test case group.

### Claim 10 (depends on 1)

The method according to claim 1, wherein test cases with matching needed resources and execution times among test cases for applications to be tested, whose compatibility relationship is compatible among the at least two applications to be tested, are clustered to the at least one virtual machine instance.

### Claim 11

A system for processing test cases for applications to be tested, the system comprising:
an evaluator configured to evaluate, using a processor, at least two applications to be tested to determine a compatibility relationship between the at least two applications to be tested;
a determinator configured to obtain test cases for the at least two applications to be tested and determine resources and execution times needed by the test cases for the at least two applications to be tested; and
a clustering device configured to, according to the compatibility relationship between the at least two applications to be tested, and the resources and execution times needed by the test cases for the at least two applications to be tested, cluster the test cases for the at least two applications to be tested to at least one virtual machine instance to test the test cases for the at least two applications to be tested on the at least one virtual machine instance.

### Claim 12 (depends on 11)

The system according to claim 11, wherein the compatibility relationship between the at least two applications to be tested comprises at least one of a hardware compatibility relationship and a software compatibility relationship.

### Claim 13 (depends on 12)

The system according to claim 12, wherein the evaluator determines the hardware compatibility relationship between the two applications to be tested based on whether types of hardware needed by the two applications to be tested are identical.

### Claim 14 (depends on 12)

The system according to claim 12, wherein the evaluator determines the software compatibility relationship between the two applications to be tested based on whether types of software needed by the two applications to be tested are identical.

### Claim 15 (depends on 14)

The system according to claim 14, wherein the evaluator further determines the software compatibility relationship between the two applications to be tested based on whether specific software needed by the two applications to be tested is identical.

### Claim 16 (depends on 15)

The system according to claim 15, wherein the evaluator further determines the software compatibility relationship between the two applications to be tested based on whether versions of specific software needed by the two applications to be tested are compatible.

### Claim 17 (depends on 16)

The system according to claim 16, wherein the evaluator further determines the software compatibility relationship between the two applications to be tested based on whether configurations of the two applications to be tested conflict.

### Claim 18 (depends on 17)

The system according to claim 17, wherein the evaluator further determines the software compatibility relationship between the two applications to be tested based on whether a configuration of at least one of the two applications to be tested can be modified.

### Claim 19 (depends on 11)

The system according to claim 11, further comprising:
a grouping device configured to group the test cases for the at least two applications to be tested based on a certain rule, and wherein the clustering device clusters the test cases for the at least two applications to be tested to at least one virtual machine instance at a granularity of the test case group.

### Claim 20 (depends on 11)

The system according to claim 11, wherein the clustering device clusters to the at least one virtual machine instance test cases with matching needed resources and execution times among test cases for applications to be tested, whose compatibility relationship is compatible among the at least two applications to be tested.

### Claim 21

A computer readable storage medium comprising a computer readable program for processing test cases for applications to be tested, wherein the computer readable program when executed on a computer causes the computer to perform the steps of:
evaluating at least two applications to be tested to determine a compatibility relationship between the at least two applications to be tested;
obtaining test cases for the at least two applications to be tested and determining resources and execution times needed by the test cases for the at least two applications to be tested; and
according to the compatibility relationship between the at least two applications to be tested, and the resources and execution times needed by the test cases for the at least two applications to be tested, clustering the test cases for the at least two applications to be tested to at least one virtual machine instance to test the test cases for the at least two applications to be tested on the at least one virtual machine instance.
