# US 2016/0283359 A1 · Computer system testing

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

- Number: US 2016/0283359 A1
- Document ID: US20160283359A1
- Status: Published application
- Kind: A1
- Application number: 15/071,130
- Filed: 2016-03-15
- Published: 2016-09-29
- Earliest claimed: 2015-03-16
- Assignees: Left Shift It Limited
- Inventors: David Silverstone
- Web page: https://patentgrep.com/patent/US20160283359A1

## CPC

- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3676: {for coverage analysis}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Computer-implemented methods and apparatuses for application testing are provided. Such apparatuses may include a data repository that stores a copy of at least some of a set of stored reference data. Such apparatuses may also include a test data generation component that generates a set of input data for testing the application. The test data generation component may process a set of received input data and the set of stored reference data according to a data processing operation. The set of received input data and set of stored reference data may each comprise one or more attributes, each with at least one value. The test data generation component may generate the set of input data by selecting at least one value from the copy of the set of stored reference data, and outputting the selected at least one value in the generated set of input data for testing the application.

## Claims

### Claim 1

An apparatus for application testing, comprising:
a data repository configured to store a copy of some or all of a set of stored reference data; and
a test data generation component configured to generate a set of input data for testing an application that processes a set of received input data and the set of stored reference data according to a data processing operation, the set of received input data and set of stored reference data each comprising one or more attributes, the one or more attributes each having at least one value, wherein the test data generation component is configured to generate the set of input data by:
selecting at least one value from the copy of the set of stored reference data, and
outputting the selected at least one value in the generated set of input data for testing the application.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein:
the data repository is further configured to
designate at least one of the one or more attributes of the set of received input data and the one or more attributes of the set of stored reference data as being attributes whose values determine the data processing operation that is performed by the application, and
determine a plurality of values or ranges of values of the designated at least one attribute that result in different data processing operations being performed by the application; and
the test data generation component is further configured to generate the set of input data by selecting a plurality of values for the designated at least one attribute, based upon the determined plurality of values or ranges of values, that result in the different data processing operations being performed by the application during testing.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the test data generation component is configured to select the plurality of values for the designated at least one attribute by selecting values that cause each of the different data processing operations that can be performed by the application to be performed only once during testing.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the test data generation component is configured to select the plurality of values for the designated at least one attribute by:
generating a plurality of vectors, each vector comprising a plurality of values for a respective one of the designated at least one attribute, wherein each value of each vector is selected from the determined plurality of values or ranges of values for the respective one of the designated at least one attribute; and
determining a Cartesian product of the plurality of vectors to generate a plurality of combinations of values of the designated at least one attribute.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein:
the data repository is further configured to store logic defining valid combinations of values for a plurality of attributes; and
the test data generation component is further configured to disregard combinations of values that do not satisfy the stored logic defining valid combinations of values.

### Claim 6 (depends on 2)

The apparatus of claim 2, wherein:
the copy of the set of stored reference data comprises records, each record comprising a plurality of related values, each value being the value of an attribute of the set of stored reference data; and
the test data generation component is further configured to generate the set of input data by
selecting a plurality of records from the copy of the set of stored reference data, wherein the selected plurality of records comprise a selected plurality of related values for the designated at least one attribute, and
outputting the selected plurality of related values from the selected plurality of records in the generated set of input data.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein:
the data repository is further configured to store logic defining a value of an attribute of the set of input data that is not contained in the copy of the set of stored reference data; and
the test data generation component is further configured to
use the stored logic to generate the value for the attribute of the set of received input data that is not contained in the copy of the set of stored reference data, and
output the generated value in the generated set of input data.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein:
the data repository is further configured to store logic defining a relationship between a set of output data generated by the application according to the data processing operation and the values of at least one of the one or more attributes of the set of stored reference data and the one or more attributes of the set of received input data processed according to the data processing operation, the set of output data comprising one or more attributes each having at least one value; and
the test data generation component is further configured to use the stored logic to generate the set of output data by
generating a value for an attribute of the generated set of output data that satisfies the relationship with reference data in the copy of the set of stored reference data and the generated set of input data, and
outputting the value for the attribute of the generated set of output data for testing the application.

### Claim 9 (depends on 1)

The apparatus of claim 1, further comprising a reference data extraction component configured to:
select a subset of the set of stored reference data used by the application;
extract the selected subset from the set of stored reference data used by the application; and
store the extracted subset in the data repository.

### Claim 10 (depends on 1)

The apparatus of claim 1, further comprising a reference data export component configured to export the copy of the set of stored reference data from the data repository to a test environment for testing the application.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein:
the data repository is configured to store a plurality of versions, each version comprising a copy of some or all of the set of stored reference data at a respective time; and
the test data generation component is further configured to
select a version stored in the data repository, and
generate at least one of a set of generated input data and a set of generated output data corresponding to the selected version.

### Claim 12 (depends on 11)

The apparatus of claim 11, further comprising a reference data export component configured to export the selected version to a test environment for testing the application.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the test environment comprises a virtual service configured to simulate a functionality of the application.

### Claim 14 (depends on 1)

The apparatus of claim 1, wherein the test data generation component is further configured to generate an additional set of input data for testing at least one additional application that processes at least one additional set of received input data and at least one additional set of stored reference data according to at least one additional data processing operation, wherein:
the data repository is configured to store a copy of some or all of the at least one additional set of stored reference data for the at least one additional application; and
the test data generation component is configured to generate the additional set of input data for use in testing the at least one additional application by
selecting at least one additional application value from the copy of some or all of the at least one additional set of stored reference data, and
outputting the selected additional application value in the generated additional set of input data for testing the at least one additional application.

### Claim 15

A computer-implemented method for application testing, comprising:
generating a set of input data for testing an computer application that processes a set of received input data and a set of stored reference data according to a data processing operation, the set of received input data and the set of stored reference data each comprising one or more attributes, the one or more attributes each having at least one value, the generating comprising:
selecting at least one value from a data repository comprising a copy of some or all of the set of stored reference data; and
generating the set of input data for testing the application by outputting the selected at least one value.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
loading stored logic that
designates at least one of the one or more attributes of the set of received input data and the one or more attributes of the set of stored reference data as being attributes whose values determine the data processing operation that is performed by the application, and
determines a plurality of values or ranges of values of the designated at least one attribute that result in different data processing operations being performed by the application; and
wherein generating the set of input data comprises selecting a plurality of values for the designated at least one attribute, based upon the determined plurality of values or ranges of values, that result in the different data processing operations being performed by the application during testing.

### Claim 17 (depends on 16)

The method of claim 16, wherein selecting the plurality of values for the designated at least one attribute comprises selecting values that cause each of the different data processing operations that can be performed by the application to be performed only once during testing.

### Claim 18 (depends on 17)

The method of claim 17, wherein selecting the plurality of values for the designated at least one attribute comprises:
generating a plurality of vectors, each vector comprising a plurality of values for a respective one of the designated at least one attribute, wherein each value of each vector is selected from the determined plurality of values or ranges of values for the respective one of the designated at least one attribute; and
determining a Cartesian product of the plurality of vectors to generate a plurality of combinations of values of the designated at least one attribute.

### Claim 19 (depends on 18)

The method of claim 18, further comprising
loading additional stored logic that defines valid combinations of values for a plurality of attributes,
wherein selecting the plurality of values for the designated at least one attribute further comprises disregarding combinations of values that do not satisfy the stored logic defining valid combinations of values.

### Claim 20 (depends on 16)

The method of claim 16, wherein the copy of the set of stored reference data comprises records, each record comprising a plurality of related values, each value being the value of an attribute of the set of stored reference data, and wherein generating the set of input data further comprises:
selecting a plurality of records from the copy of the set of stored reference data, wherein the selected plurality of records comprise a selected plurality of related values for the designated at least one attribute, and
outputting the selected plurality of related values from the selected plurality of records in the generated set of input data for testing the application.

### Claim 21 (depends on 15)

The method of claim 15, further comprising:
loading stored logic that defines a value of an attribute of the set of input data that is not contained in the copy of the set of stored reference data;
using the stored logic to generate the value for the attribute of the set of input data that is not contained in the copy of the set of stored reference data, and
outputting the generated value in the generated set of input data for testing the application.

### Claim 22 (depends on 15)

The method of claim 15, wherein:
loading stored logic that defines a relationship between a set of output data generated by the application according to the data processing operation and the values of at least one of the one or more attributes of the set of stored reference data and the one or more attributes of the set of received input data processed according to the data processing operation, the set of output data comprising one or more attributes each having at least one value; and
using the stored logic to generate a set of output data by
generating a value for an attribute of the generated set of output data that satisfies the relationship with reference data in the copy of the set of stored reference data and the generated set of input data, and
outputting the value for the attribute of the generated set of output data for testing the application.

### Claim 23 (depends on 15)

The method of claim 15, further comprising:
selecting a subset of the set of stored reference data used by the application;
extracting the selected subset from the set of stored reference data used by the application; and
storing the extracted subset in the data repository.

### Claim 24 (depends on 15)

The method of claim 15, further comprising exporting the copy of the set of stored reference data from the data repository to a test environment for testing the application.

### Claim 25 (depends on 15)

The method of claim 15, wherein:
the data repository stores a plurality of versions, each version comprising a copy of some or all of the set of stored reference data at a respective time, the method further comprising:
selecting a version stored in the data repository; and
generating at least one of a set of generated input data and a set of generated output data corresponding to the selected version.

### Claim 26 (depends on 25)

The method of claim 25, further comprising exporting the selected version to a test environment for testing the application.

### Claim 27 (depends on 24)

The method of claim 24, wherein the test environment comprises a virtual service configured to simulate a functionality of the application.

### Claim 28 (depends on 15)

The method of claim 15, further comprising generating an additional set of input data for testing at least one additional application that processes at least one additional set of received input data and at least one additional set of stored reference data according to at least one additional data processing operation, the generating including:
selecting at least one additional application value from a copy of some or all of at least one additional set of stored reference data for the at least one additional application stored in the data repository; and
outputting the selected at least one additional application value in the generated additional set of input data for testing the at least one additional application.

### Claim 29

A non-transitory computer readable medium containing instructions which, when executed by at least one processor, cause the at least one processor to perform operations comprising:
generating a set of input data for testing an application that processes a set of received input data and a set of stored reference data according to a data processing operation, the set of received input data and the set of stored reference data each comprising one or more attributes, the one or more attributes each having at least one value, the generating comprising:
selecting at least one value from a data repository comprising a copy of some or all of the set of stored reference data; and
generating a set of input data for testing the application by outputting the selected at least one value.
