# US 12,117,923 B2 · Regression test suite reduction for cloud systems

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

- Number: US 12,117,923 B2
- Document ID: US12117923B2
- Status: Granted
- Kind: B2
- Application number: 17/638,850
- Filed: 2020-08-25
- Published: 2022-10-20
- Granted: 2024-10-15
- Earliest claimed: 2019-08-29
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ); Oussama Jebbar; Mohamed Aymen Saied; Ferhat Khendek; Maria Toeroe
- Inventors: Oussama Jebbar; Mohamed Aymen Saied; Ferhat Khendek; Maria Toeroe
- Web page: https://patentgrep.com/patent/US12117923B2

## CPC

- G06F 11/3684: {for test design, e.g. generating new test cases}
- 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 disclosure relates to a method, system and computer readable media for validating that a configuration of a cloud system meets requirements, using a reduced test suite selected from a test suite. The method includes classifying the requirements and service instances realizing the requirements composing the cloud system. The method includes applying test suite reduction rules to the test suite, using the classified requirements and service instances, to obtain the reduced test suite. The method includes applying the reduced test suite to the cloud system configured with the configuration, thereby validating that the configuration of the cloud system meets the requirements.

## Claims

### Claim 1

A method for validating that a configuration of a cloud system meets requirements, using a reduced test suite selected from a test suite, the method comprising:
classifying using a memory and a processing circuitry, requirements and service instances realizing the requirements composing the cloud system;
applying, using the memory and the processing circuitry, test suite reduction rules to the test suite, using the classified requirements and service instances, to obtain the reduced test suite;
applying, using the memory and the processing circuitry, the reduced test suite to the cloud system configured with the configuration, thereby validating that the configuration of the cloud system meets the requirements and causing signaling between hardware nodes and radio units via the memory and the processing circuitry, wherein the step of classifying the service instances further comprises classifying the service instances among: a service instance directly impacted by a change, a service instance indirectly impacted by the change and a service instance not impacted by the change, wherein classifying the service instance is done using an applicability matrix which maps test cases to service instances to which the test cases are applicable and using a requirement-service matrix which maps every requirement to the service instance realizing the requirement; and
removing an applicability link between the service instance and a test case which realizes a requirement if the requirement is directly or indirectly impacted, the requirement is environment dependent, and there is an entry in a history consisting of a test case, a requirement, and a set of configuration parameters identical to the set of configuration parameters that are associated with the service instance and that impacts the requirement.

### Claim 2 (depends on 1)

The method of claim 1, wherein the step of classifying the requirements further comprises classifying the requirements among: environment agnostic requirements, environment dependent requirements and composite requirements, wherein classifying the requirements further comprises classifying configuration parameters as environment agnostic or environment dependent configurations parameters and mapping every requirement that is realized by the cloud system to a configuration parameter to which it is related.

### Claim 3 (depends on 2)

The method of claim 2, wherein the step of classifying the requirements further comprises classifying the requirements among: directly impacted requirements, indirectly impacted requirements and unimpacted requirements based on the classification of the service instances.

### Claim 4 (depends on 1)

The method of claim 1, wherein the step of classifying the requirements further comprises classifying the requirements among: directly impacted requirements, indirectly impacted requirements and unimpacted requirements based on the classification of the service instances.

### Claim 5 (depends on 1)

The method of claim 1, wherein the step of applying test suite reduction rules further comprises reducing the applicability matrix by:
removing all the service instances realizing the requirement which are not impacted by the change; and
removing an applicability link between the service instance and a test case which realizes a requirement if
the requirement is directly impacted, the requirement is environment agnostic, and there is an entry in the history consisting of a test case, a requirement, and a set of configuration parameters identical to the configuration parameters that are associated with the service instance and that impacts the requirement.

### Claim 6 (depends on 5)

The method of claim 5, wherein the step of applying test suite reduction rules further comprises reducing the applicability matrix by:
removing any service instance with no applicable test cases, and which realizes environment agnostic requirements;
removing any service instance if the service instance realizes an environment dependent requirement, the service instance has no applicable test cases and the service instance shares configuration parameters with another service instance that realizes a composite requirement; and
setting back applicability links if the service instance realizes an environment dependent requirement but the service instance has applicable test cases and does not share configuration parameters with another service instance that realizes a composite requirement.

### Claim 7 (depends on 1)

The method of claim 1, wherein the step of applying test suite reduction rules further comprises reducing the applicability matrix by:
removing any service instance with no applicable test cases, and which realizes environment agnostic requirements;
removing any service instance if the service instance realizes an environment dependent requirement, the service instance has no applicable test cases and the service instance shares configuration parameters with another service instance that realizes a composite requirement; and
setting back applicability links if the service instance realizes an environment dependent requirement but the service instance has applicable test cases and does not share configuration parameters with another service instance that realizes a composite requirement.

### Claim 8

A system for validating that a configuration of a cloud system meets requirements, using a reduced test suite selected from a test suite comprising processing circuits and a memory, the memory containing instructions executable by the processing circuits whereby the system is operative to perform operations comprising:
classifying, using the memory and the processing circuits, the requirements and service instances realizing the requirements composing the cloud system;
applying, using the memory and the processing circuits, test suite reduction rules to the test suite, using the classified requirements and service instances, to obtain the reduced test suite;
applying, using the memory and the processing circuits, the reduced test suite to the cloud system configured with the configuration, thereby validating that the configuration of the cloud system meets the requirements;
removing an applicability link between the service instance and a test case which realizes a requirement if the requirement is directly or indirectly impacted, the requirement is environment dependent, and there is an entry in a history consisting of a test case, a requirement, and a set of configuration parameters identical to the set of configuration parameters that are associated with the service instance and that impacts the requirement; and
causing signaling between hardware nodes and radio units via the memory and the processing circuitry, wherein the step of classifying the service instances further comprises classifying the service instances among: a service instance directly impacted by a change, a service instance indirectly impacted by the change and a service instance not impacted by the change, wherein classifying the service instance is done using an applicability matrix which maps test cases to service instances to which the test cases are applicable and using a requirement-service matrix which maps every requirement to the service instance realizing the requirement.

### Claim 9 (depends on 7)

The system of claim 7, further operative to classify the requirements among:
environment agnostic requirements, environment dependent requirements and composite requirements, wherein classifying the requirements further comprises classifying configuration parameters as environment agnostic or environment dependent configurations parameters and mapping every requirement that is realized by the cloud system to a configuration parameter to which it is related.

### Claim 10 (depends on 9)

The system of claim 9, further operative to classify the requirements among: directly impacted requirements, indirectly impacted requirements and unimpacted requirements based on the classification of the service instances.

### Claim 11 (depends on 8)

The system of claim 8, further operative to classify the service instances among: a service instance directly impacted by a change, a service instance indirectly impacted by the change and a service instance not impacted by the change, wherein classifying the service instance is done using an applicability matrix which maps test cases to service instances to which the test cases are applicable and using a requirement-service matrix which maps every requirement to the service instance realizing the requirement.

### Claim 12 (depends on 11)

The system of claim 11, further operative to reduce the applicability matrix by:
removing all the service instances realizing the requirement which are not impacted by the change; and
removing an applicability link between the service instance and a test case which realizes a requirement if:
the requirement is directly or indirectly impacted, the requirement is environment dependent, and there is an entry in a history consisting of a test case, a requirement, and a set of configuration parameters identical to the set of configuration parameters that are associated with the service instance and that impacts the requirement; or
the requirement is directly impacted, the requirement is environment agnostic, and there is an entry in the history consisting of test case, a requirement, and a set of configuration parameters identical to the configuration parameters that are associated with the service instance and that impacts the requirement.

### Claim 13 (depends on 12)

The system of claim 12, further operative to reduce the applicability matrix by:
removing any service instance with no applicable test cases, and which realizes environment agnostic requirements;
removing any service instance if the service instance realizes an environment dependent requirement, if the service instance has no applicable test cases and the service instance shares configuration parameters with another service instance that realizes a composite requirement; and
setting back applicability links if the service instance realizes an environment dependent requirement but the service instance has applicable test cases and does not share configuration parameters with another service instance that realizes a composite requirement.

### Claim 14 (depends on 11)

The system of claim 11, further operative to reduce the applicability matrix by:
removing any service instance with no applicable test cases, and which realizes environment agnostic requirements;
removing any service instance if the service instance realizes an environment dependent requirement, if the service instance has no applicable test cases and the service instance shares configuration parameters with another service instance that realizes a composite requirement; and
setting back applicability links if the service instance realizes an environment dependent requirement but the service instance has applicable test cases and does not share configuration parameters with another service instance that realizes a composite requirement.

### Claim 15 (depends on 8)

The system of claim 8, further operative to classify the requirements among: directly impacted requirements, indirectly impacted requirements and unimpacted requirements based on the classification of the service instances.

### Claim 16

A non-transitory computer readable media having stored thereon instructions for validating that a configuration of a cloud system meets requirements, using a reduced test suite selected from a test suite, the instructions comprising:
classifying the requirements and service instances realizing the requirements composing the cloud system;
applying test suite reduction rules to the test suite, using the classified requirements and service instances, to obtain the reduced test suite; and
applying the reduced test suite to the cloud system configured with the configuration, thereby validating that the configuration of the cloud system meets the requirements and causing signaling between hardware nodes and radio units via a memory and a processing circuitry;
removing an applicability link between the service instance and a test case which realizes a requirement if the requirement is directly or indirectly impacted, the requirement is environment dependent, and there is an entry in a history consisting of a test case, a requirement, and a set of configuration parameters identical to the set of configuration parameters that are associated with the service instance and that impacts the requirement; and
causing signaling between hardware nodes and radio units via the memory and the processing circuitry, wherein the step of classifying the service instances further comprises classifying the service instances among: a service instance directly impacted by a change, a service instance indirectly impacted by the change and a service instance not impacted by the change, wherein classifying the service instance is done using an applicability matrix which maps test cases to service instances to which the test cases are applicable and using a requirement-service matrix which maps every requirement to the service instance realizing the requirement.
