# US 2022/0283926 A1 · Techniques for large-scale functional testing in cloud-computing environments

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

- Number: US 2022/0283926 A1
- Document ID: US20220283926A1
- Status: Published application
- Kind: A1
- Application number: 17/191,013
- Filed: 2021-03-03
- Published: 2022-09-08
- Earliest claimed: 2021-03-03
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Michael Chirkin; Mohammed Yousuf Pariyani; Heng-Yi Lin
- Web page: https://patentgrep.com/patent/US20220283926A1

## CPC

- G06F 11/3612: {by runtime analysis (performance monitoring G06F11/3466)}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3692: {for test results 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

Techniques are disclosed for generating an execution plan for performing functional tests in a cloud-computing environment. Infrastructure resources and capabilities (e.g., system requirements) may be defined within an infrastructure object (e.g., a resource of a declarative infrastructure provisioner) that stores a code segment that implements the resource or capability. Metadata may be maintained that indicates what particular capabilities are applicable to each infrastructure resource. Using the metadata, the system can generate an execution plan by combining code segments for each resource with code segments defining each capability in accordance with the metadata. The execution plan may include programmatic instructions that, when executed, generate a set of test results. The system can execute instructions that cause the set of test results to be presented at a user device.

## Claims

### Claim 1

A computer-implemented method, comprising:
maintaining a first set of code segments, each code segment of the first set of code segments individually comprising programmatic instructions for generating a resource of a set of resources of a cloud-computing environment, the programmatic instructions comprising a first set of functions calls of a limited set of function calls that are optimized for generating execution plans in the cloud-computing environment;
maintaining a second set of code segments, each code segment of the second set of code segment comprising respective programmatic instructions defining a capability of a set of capabilities of the cloud-computing environment, the respective programmatic instructions comprising a second set of function calls of the limited set of function calls;
obtaining metadata indicating a corresponding set of capabilities that are applicable for each resource of the set of resources;
generating an execution plan based at least in part on combining the first set of code segments for generating the set of resources and the second set of code segments defining the set of capabilities, the execution plan being generated in accordance with the metadata indicating the corresponding set of capabilities that are applicable for individual resources of the set of resources;
generating a set of test results based at least in part on executing the execution plan; and
executing instructions that cause a result for each of the set of test results to be displayed at a user device.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein a subset of function calls of the limited set of function calls relate to at least one of: calling a first application programming interface of the cloud-computing environment, calling a second application programming interface of a declarative infrastructure provisioner, manipulating data associated with a respective resource or respective capability, executing Boolean logic with at least one resource or at least one capability, importing programmatic instructions associated with a particular resource, or importing programmatic instructions associated with a particular capability.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the declarative infrastructure provisioner is configured to define and provision infrastructure resources using a declarative configuration language.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the execution plan comprises programmatic instructions for executing a test corresponding to each capability that is applicable to a given resource.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, further comprising removing redundant programming instructions from the execution plan prior to executing the execution plan.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the result for each of the set of test results is presented in a graphical matrix.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein at least one function call in the limited set of function calls comprises two or more overloaded functions, wherein a particular overloaded function is selected for execution based at least in part on a set of parameters used to call the at least one function call.

### Claim 8

A computing device, comprising:
a processor; and
a memory storing instructions that, when executed by the processor, configure the computing device to:
maintain a first set of code segments, each code segment of the first set of code segments individually comprising programmatic instructions for generating a resource of a set of resources of a cloud-computing environment, the programmatic instructions comprising a first set of functions calls of a limited set of function calls that are optimized for generating test procedures in the cloud-computing environment;
maintain a second set of code segments, each code segment of the second set of code segment comprising respective programmatic instructions defining a capability of a set of capabilities of the cloud-computing environment, the respective programmatic instructions comprising a second set of function calls of the limited set of function calls;
obtain metadata indicating a corresponding set of capabilities that are applicable for each resource of the set of resources;
generate an execution plan based at least in part on combining the first set of code segments for generating the set of resources and the second set of code segments defining the set of capabilities, the execution plan being generated in accordance with the metadata indicating the corresponding set of capabilities that are applicable for individual resources of the set of resources;
generate a set of test results based at least in part on executing the execution plan; and
execute instructions that cause a result for each of the set of test results to be displayed at a user device.

### Claim 9 (depends on 8)

The computing device of claim 8, wherein a subset of function calls of the limited set of function calls relate to at least one of: calling a first application programming interface of the cloud-computing environment, calling a second application programming interface of a declarative infrastructure provisioner, manipulating data associated with a respective resource or respective capability, executing Boolean logic with at least one resource or at least one capability, importing programmatic instructions associated with a particular resource, or importing programmatic instructions associated with a particular capability.

### Claim 10 (depends on 9)

The computing device of claim 9, wherein the declarative infrastructure provisioner is configured to define and provision infrastructure resources using a declarative configuration language.

### Claim 11 (depends on 8)

The computing device of claim 8, wherein the execution plan comprises programmatic instructions for executing a test corresponding to each capability that is applicable to a given resource.

### Claim 12 (depends on 8)

The computing device of claim 8, wherein the computing device is further configured to remove redundant programming instructions from the execution plan prior to executing the execution plan.

### Claim 13 (depends on 8)

The computing device of claim 8, wherein the result for each of the set of test results is presented in a graphical matrix.

### Claim 14 (depends on 8)

The computing device of claim 8, wherein at least one function call in the limited set of function calls comprises two or more overloaded functions, wherein a particular overloaded function is selected for execution based at least in part on a set of parameters used to call the at least one function call.

### Claim 15

A non-transitory computer-readable medium storing computer-executable instructions that, when executed by one or more processors of a computing device, cause the computing device to:
maintain a first set of code segments, each code segment of the first set of code segments individually comprising programmatic instructions for generating a resource of a set of resources of a cloud-computing environment, the programmatic instructions comprising a first set of functions calls of a limited set of function calls that are optimized for generating test procedures in the cloud-computing environment;
maintain a second set of code segments, each code segment of the second set of code segment comprising respective programmatic instructions defining a capability of a set of capabilities of the cloud-computing environment, the respective programmatic instructions comprising a second set of function calls of the limited set of function calls;
obtain metadata indicating a corresponding set of capabilities that are applicable for each resource of the set of resources;
generate an execution plan based at least in part on combining the first set of code segments for generating the set of resources and the second set of code segments defining the set of capabilities, the execution plan being generated in accordance with the metadata indicating the corresponding set of capabilities that are applicable for individual resources of the set of resources;
generate a set of test results based at least in part on executing the execution plan; and
execute instructions that cause a result for each of the set of test results to be displayed at a user device.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein a subset of function calls of the limited set of function calls relate to at least one of: calling a first application programming interface of the cloud-computing environment, calling a second application programming interface of a declarative infrastructure provisioner, manipulating data associated with a respective resource or respective capability, executing Boolean logic with at least one resource or at least one capability, importing programmatic instructions associated with a particular resource, or importing programmatic instructions associated with a particular capability.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the execution plan comprises programmatic instructions for executing a test corresponding to each capability that is applicable to a given resource.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the computing device is further configured to remove redundant programming instructions from the execution plan prior to executing the execution plan.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the result for each of the set of test results is presented in a graphical matrix.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein at least one function call in the limited set of function calls comprises two or more overloaded functions, wherein a particular overloaded function is selected for execution based at least in part on a set of parameters used to call the at least one function call.
