# US 2017/0293551 A1 · Separating test verifications from test executions

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

- Number: US 2017/0293551 A1
- Document ID: US20170293551A1
- Status: Published application
- Kind: A1
- Application number: 15/508,710
- Filed: 2014-12-09
- Published: 2017-10-12
- Earliest claimed: 2014-12-09
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Inbar Shani; Ilan Shufer; Amichai Nitsan
- Web page: https://patentgrep.com/patent/US20170293551A1

## CPC

- G06F 11/3692: {for test results analysis}
- G06F 11/3612: {by runtime analysis (performance monitoring G06F11/3466)}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3608: {using formal methods, e.g. model checking, abstract interpretation (theorem proving G06N5/013)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Example implementations relate to separating verifications from test executions. Some implementations may include a data capture engine that captures data points during test executions of the application under test. The data points may include, for example, application data, test data, and environment data. Additionally, some implementations may include a data correlation engine that correlates each of the data points with a particular test execution state of the application under test based on a sequence of events that occurred during the particular test execution state. Furthermore, some implementations may also include a test verification engine that, based on the correlation of the data points, verifies an actual behavior of the application under test separately from the particular test execution state.

## Claims

### Claim 1

A system for separating test verifications from test executions comprising:
a data capture engine that captures data points during test executions of an application under test, the data points including application data, test data, and environment data;
a data correlation engine that correlates each of the data points with a particular test execution state of the application under test, each of the data points being correlated based on a sequence of events that occurred during the particular test execution state; and
a test verification engine that, based on the correlation of the data points, verifies an actual behavior of the application under test separately from the particular test execution state.

### Claim 2 (depends on 1)

The system of claim 1, wherein;
the application data includes data related to various levels of the application under test, the levels including at least one of a user interface level, a code level, a network communication level, and a database level;
the test data includes data related to the particular test execution state, the test data including metadata related to the application under test, to the particular test execution state, and to testing actions performed during the particular test execution state; and
the environment data includes data related to the environment of the application under test, the environment data including metadata related to hardware and programming that execute the application under test.

### Claim 3 (depends on 2)

The system of claim 2, wherein the data correlation engine correlates each of the data points by:
assigning test steps of a test execution as a backbone of a data structure;
connecting the data points via directed edges from a first test step of the assigned test steps, the data points being connected based on length of time between a time stamp associated with a particular data point and a time stamp associated with the first test step;
assigning the application data, the test data, and the environment data as vertices connected to the backbone; and
assigning tags to the directed edges to identify a type of relation between the vertices.

### Claim 4 (depends on 1)

The system of claim 1, wherein:
the test verification engine verifies the actual behavior based on a verification input received after the particular test execution state.

### Claim 5 (depends on 4)

The system of claim 4, wherein:
the data correlation engine correlates each of the data points by generating a directed acyclic graph, the directed acyclic graph being generated based on timestamps associated with the data points;
the test verification engine translates the verification input to a directed acyclic graph verification query, the directed acyclic graph verification query being translated using a domain-specific language; and
the test verification engine queries the directed acyclic graph using the directed acyclic graph verification query.

### Claim 6 (depends on 5)

The system of claim 5, wherein:
the particular test execution state is a first particular test execution state;
the directed acyclic graph verification query is stored in a storage device before a second particular test execution state; and
if the second particular test execution state changes the results of the query, causing generation of an alert.

### Claim 7 (depends on 1)

The system of claim 1, further comprising:
a verification repository that stores verifications,
wherein the test verification engine verifies the actual behavior of the application under test by automatically executing the verifications at a particular point in time.

### Claim 8 (depends on 7)

The system of claim 7, wherein:
the test verification engine automatically reports on the execution of the verifications; and
the particular point in time is based on a schedule.

### Claim 9 (depends on 7)

The system of claim 7, wherein:
each the stored verifications are defined either before a test execution corresponding with the particular test execution state, during the test execution, or after the test execution.

### Claim 10

A computer-implemented method comprising:
capturing, via a processor, data points during a test execution of an application under test, the data points including metadata associated with the test execution, the application under test, and an environment of the application under test;
receiving, via the processor, a first request from a first portion of code to categorize each of the data points into at least one of a plurality of types;
in response to receiving the first request, categorizing, via the processor, each of the data points into at least one of the plurality of types;
receiving, via the processor, a second request from a second portion of code to correlate each of the captured data points with the test execution of the application under test; and
in response to receiving the second request, correlating, via the processor, each of the captured data points with the test execution of the application under test, wherein correlating each of the captured data points comprises:
generating, via the processor, a data structure including a backbone, the backbone including data points categorized as a first type of the plurality of types;
connecting, via the processor, remaining data points via directed edges based on timestamps associated with the remaining data points, the remaining data points being data points not categorized as the first type; and
assigning tags to the directed edges to identify a type of relation between the vertices.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10 comprising:
receiving, via the processor, a third request from a third portion of code to verify an actual behavior of the application under test, the third request being received from a verification component that differs from a test component that performs the test execution;
in response to receiving the third request, querying a verification repository to obtain at least a portion of the correlated captured data points that are responsive to the query.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11 comprising:
receiving the at least the portion of the correlated captured data points that are responsive to the query; and
causing a display of the at least the portion of the correlated captured data points that are responsive to the query on a display device.

### Claim 13 (depends on 11)

The computer-implemented method of claim 11, wherein correlating each of the captured data points comprises generating a directed acyclic graph.

### Claim 14

A non-transitory computer-readable storage medium including instructions which, when executed by a processor, cause the processor to:
manage a data structure stored on a storage device, the data structure including:
a backbone comprising test steps of a first test execution of an application under test, each test step of the backbone being connected via directed edges with data points captured during the test execution, each test step of the backbone being connected based on a sequence of events associated with the data points;
vertices connected to the backbone, the vertices being modeled by metadata associated with the test execution; and
tags associated with the directed edges, the tags identifying a type of relation between the vertices; and
update the data structure based on a second test execution.

### Claim 15 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein managing the data structure includes:
receiving a query to access the data structure, the query including verification information to verify the actual behavior of the application under test; and
transmitting information from the data structure that is responsive to the query.
